How can I find out the components that are touching a face?
Or, in other words, if a face is touching any component?
I know little about Ruby but a component can only touch if it’s bounding box is touching that face with one of its sides, (coplanar with that face).
In order to find out I think you have to find out if the bounding box of the component has at least three of it’s corners on that face and so all other corners (except for the fourth corner of the coplanar side) are only on one side of the face, no matter what the geometry itself inside the box looks like.
So it is “just” about the bounding box.
There is no "touching " detection method for the API.
There are many topic about it.
The most recent one (with a link to other topics):
1 Like