-
-
Notifications
You must be signed in to change notification settings - Fork 570
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
Creating text tags inside viewer #258
Comments
Regarding location of text: maybe center of bounding box would be easy to obtain and good enough for most of the cases. |
I like the idea, but the complexity here is that there is no common property set. So for example if you check the "Guid" property, the model should be scanned if any of the meshes has a property with the name "Guid". From the UX perspective it's misleading that you select from the list of mesh properties, but it will effect the visualization of the entire model. So I think it's need more investigation on how to achieve this goal. |
Hello, Thanks for your discussion. I just want to add that as far as I know there is no IFC viewer who have this ability. If one day we can have this it will be a step forward in the reading of the metadata from the 3D BIM models. Kind regards, |
This is very useful to make some parameter checking. In this sample you can hide the walls to better see the elements inside. |
Hey Viktor,
I'm passing to you the request from Yoann Obry who came up with this idea. Idea is to display a text with values of chosen property inside the viewer. Such feature should greately improve readability of data inside complex models, as you won't have to click at every element to get some specific info, but you could see it for multiple elements at once. Yoann shared these images:
This is how it is right now, we could have a radio button to pick the properties we want to see inside model:
![image](https://user-images.githubusercontent.com/47977819/167255779-826ad10f-2cf7-4442-b5cf-7956de12b508.png)
This is how it could be displayed in viewer once the radiobutton would be pressed (this example was created using this: https://github.com/paireks/dotbimpy#customize):
![image](https://user-images.githubusercontent.com/47977819/167255810-c9f2ea89-aeb4-4216-b371-ffb8e65a8d4e.png)
Not sure how big challange it would be to implement it. Also obtaining the text location could be interesting, as e.g. finding some sort of a center of a mass for a mesh might be a challange itself, or it might look weird for some meshes, e.g. if one mesh is constructed with two separate meshes with gap in between. But maybe I'm overthinking it, would love to hear your opinion on that.
I found these two examples that maybe would be helpful to implement it:
https://stemkoski.github.io/Three.js/Labeled-Geometry.html
https://stemkoski.github.io/Three.js/Sprite-Text-Labels.html
Best regards ;)
Wojciech
The text was updated successfully, but these errors were encountered: