Closed RASRC closed 4 months ago
I don't think it is a bug. It is more of an additionnal feature. Basically, the plan view is just a combination of a clipper and a camera position. When you clip object, it is in fact empty, even though filling style gives the inverse impression. So, when you click, the raycasting doesn't reach column. It instead reaches the slab.
Hi @Maozerhouni! Thanks for the comment.
I understand your point but I can pick Walls without problems, wherever they are placed in the floorplan. In line with your explanation, they couldn't be pickable...
Oh ok. You're right. That s a bit odd. For the sake of experimentation, have you tried to tag walls as columns and vice versa ? I find it very weird that category Plays any role in this.
Indeed, this is something we haven't implemented yet, but shouldn't be hard. I can bind the faces of the Edges Clipper to the IFC items to which they belong, thus enabling to pick clipped elements from above. I'll take care of it!
Hi @agviegas ! Did you can implement the picking columns functionality for the Floor Plan viewer? Thanks.
Hi! Not yet, sorry 😳 we are 3 people maintaining the whole thing plus also making the new features. I expect that next month we will have time to clean up the issues in this respository. Feel free to open a PR if it's an urgent matter.Thanks in advance for your patience! 🙏
Done! Now we can select clipped elements. Available from @thatopen/components-front@2.0.15
. Docs also updated, you can try it out in the plan tutorial example. Cheers!
Describe the bug 📝
I'm working in the Floor Plan viewer, and noticed that you cannot pick columns, even when I added the category using the classifier like in the documentation I can't select column elements by clicking. Instead, it selects the slab. Otherwise, I have no problems selecting any wall element by clicking. Thanks!
Reproduction ▶️
No response
Steps to reproduce 🔢
No response
System Info 💻
Used Package Manager 📦
npm
Error Trace/Logs 📃
No response
Validations ✅