-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visualization of length measurement #147
Comments
Hi @RASRC,
|
Hi @agviegas. I put the styles that are shown in the documentation inside the main .css file of the app: About the background color, in the community forum Juan mentioned that could be a color class that was probably deleted in the development process. I'll be attending to the news. Thanks! |
Hi @RASRC! Hope you're fine 🙂 I'm following up this issue. A couple of things:
The question is: when you toggle Let me know! |
Hello @HoyosJuan ! The app is designed following the IFC.js advance course criteria, but perhaps I'm missing some step in the way:
Thanks! |
Hi @RASRC! And are you using the built-in UI? Things have changed quite a lot since the IFC.js advance course, and I'm not aware about the BuildingScene class and what exact code should we find there. But, just in case, our conversation means the bug is solved? |
Hi @HoyosJuan! Sorry for the late response. I'm starting over the viewer following the Master classes with the latest version of the library. Thanks. |
Excuse me how did you use the code? Would you please share? |
Hey @shahbaziparisa are you using the library |
Yes |
I don't know if you mean A) "I want to use snapping, and I don't know how" or B) "Snapping doesn't work when using a specific measurement component". For A), we don't have a specific component for snapping, but you can see how we use it in the source code of the library. We are currently updating the documentation. Hopefully later today you will be able to find all the updated tutorials for measurement components as well. |
Thanks. I need such snapping to corner on .ifc models . I load ifc model and use the same code but magnetic snapping to corners is not available. For me, a red rectangle appear but never snapped to corners |
You are right, snapping is not working for IFC models. I'll fix this today! |
Hi |
Yes, it should be fixed in the latest patch. |
Describe the bug 📝
Thanks!
Reproduction▶️
No response
Steps to reproduce 🔢
const dimensions = new OBC.LengthMeasurement(this.components)
dimensions.create()
dimensions.enabled = false;
dimensions.visible = false;
System Info 💻
Used Package Manager 📦
npm
Error Trace/Logs 📃
No response
Validations ✅
The text was updated successfully, but these errors were encountered: