createFaceFromPlanarWires() confused by tangent loops
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This is really a follow-up to this thread, but the subject has morphed into something a bit different.
Is there any standard guidance on creating surfaces of the following type using TemporaryBRepManager.createFaceFromPlanarWires?
The issue is the circle that is tangent to the outer edge. In the curve set, there is in fact a vertex connected to 4 edges. Just to be clear, the result I would like is something like this:
It doesn't matter to me if the circle is represented as an interior loop or as an incursion on the outer profile. However, Fusion 360 doesn't like either of these options as input. If the circle is a separate loop, Fusion 360 complains that the wires "intersect or touch". If the circle is included as a detour from the outer contour (in either direction), the complaint is that the "cover failed to make a surface". ("No, you," I want to retort. "You failed to make a surface." 🙂)
There is an allowSelfIntersections option to TemporaryBRepManager.createWireFromCurves, but it doesn't seem to make any difference. The errors are the same with or without that.
Oddly, the Patch command seems to have no trouble creating this type of surface from a sketch profile. Strange, because it seems the only thing backing up a profile in the API is a set of curve loops, exactly the input I'm already supplying.