05-20-2019
01:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
05-20-2019
01:38 PM
Well this works, but it's obviously not the *right* way to do it (I don't think)
Edge edge = m_extrudeFace.Edges[1];
Face face = edge.Faces[1];
WorkPlane workPlane = workPlanes.AddByPlaneAndOffset(face, dOffset);
workPlane.Visible = true;
There has to be a way to check if the edge is right on the face of the part - or will this always be the case with edge 1?
Edit: Another hole that doesn't go all the way through produced the same exception as above, so it's not going to work unless I can figure out how to check if edge->face is at the opening of the hole (open to suggestions >.< )