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.
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