Sketch Inside/Outside Curve

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
TheMarkster
Veteran
Posts: 5513
Joined: Thu Apr 05, 2018 1:53 am

Re: Sketch Inside/Outside Curve

Post by TheMarkster »

Roy_043 wrote: Tue Dec 07, 2021 9:40 am
TheMarkster wrote: Tue Dec 07, 2021 1:00 am Don't use FaceMakerSimple if you might have holes in the face.
As already mentioned: with "Part::FaceMakerSimple" Part.makeFace will return a compound not a face. I have not looked at the compound, but this behavior seems strange to me.
That's an interesting find. I had noticed it produced a face with overlapping edges, but had not put together that it was a compound of faces. Seems obvious now in retrospect. It might be possible to fuse these and use removeSplitter() in some cases to remove the extra edges, but I just did a quick test with a bullseye type sketch of concentric circles and this does not work. You could probably extrude them all, say 1 mm, fuse the extrude objects, and then use removeSplitter on the solid to get a face that way. You can use outer wire and just get the face from that wire, but there could be cases with overlapping wires and you would just like the outline.
Snip macro screenshot-5d3e36.png
Snip macro screenshot-5d3e36.png (54.03 KiB) Viewed 507 times
Snip macro screenshot-d831c8.png
Snip macro screenshot-d831c8.png (41.56 KiB) Viewed 507 times
freedman
Veteran
Posts: 3466
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: Sketch Inside/Outside Curve

Post by freedman »

When you originally asked this question I could not find this link, here it is:
https://forum.freecadweb.org/viewtopic. ... st#p504572
Post Reply