-
-
Notifications
You must be signed in to change notification settings - Fork 845
Closed
Labels
Description
I'm trying to fetch all objects "near" an object.
For example, all objects inside an IfcSpace and walls on its sides, or find spaces and slabs touching a wall.
I'm using geom.tree() and the select() method but if I add an extend parameter to find close objects, the process time is multiplied (from milliseconds to seconds per object).
if ifc_object.is_a("IfcProduct"):
nearby_instances = [
i.GlobalId for i in ifcwrap_bvh.select(ifc_object, extend=1.1)
]Is this the right way to do it or am I in the wrong direction?