voneiden / ocp-freecad-cam

CAM for CadQuery and Build123d by leveraging FreeCAD
https://pypi.org/project/ocp-freecad-cam/
Apache License 2.0
30 stars 3 forks source link

FreeCAD sees incorrect outer wire #20

Closed voneiden closed 1 year ago

voneiden commented 1 year ago

Now this one is interesting. With the attached brep, FreeCAD sees the inner wire as the outer wire and chaos ensues. FreeCAD uses ShapeAnalysis.OuterWire to determine the outer wire whereas cadquery and build123d use BRepTools.OuterWire.

The face was generated by build123d. Running ShapeFix on it seems to resolve the issue.

outer_wire_bug.brep.tar.gz