- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
That's pretty much what I do in the latest code. I use FindUsingVector but it's pretty much the same thing .
In FindUsingVector we have a selectionfilter argument that comes in handy (Since we know we only want to find planar faces), and also we don't have to create an enumerator for LokationPoints that we have no use for ![]()
The problem is that we don't know which direction is up/down. Sure, we could say the assembly must be oriented in a way that up/down is always along the Z-axis for example, but I prefer the code working regardless of the assemblys orientation.
Thats why I use the outer edges of the face to determine directions to shoot these rays along and check for faces:)
Jhoel Forshav
Download my free Inventor Addin - Hole Projector
LinkedIn | Ideas | Contributions | Blog posts | Website