File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2101,9 +2101,9 @@ def makeFromWires(
2101
2101
raise ValueError ("Cannot build face(s): wires not planar" )
2102
2102
2103
2103
# fix outer wire
2104
- sf = ShapeFix_Shape (outerWire .wrapped )
2105
- sf .Perform ()
2106
- w = TopoDS .Wire_s (sf .Shape ())
2104
+ sf_s = ShapeFix_Shape (outerWire .wrapped )
2105
+ sf_s .Perform ()
2106
+ w = TopoDS .Wire_s (sf_s .Shape ())
2107
2107
2108
2108
face_builder = BRepBuilderAPI_MakeFace (w , True )
2109
2109
@@ -2117,11 +2117,11 @@ def makeFromWires(
2117
2117
2118
2118
face = face_builder .Face ()
2119
2119
2120
- sf = ShapeFix_Face (face )
2121
- sf .FixOrientation ()
2122
- sf .Perform ()
2120
+ sf_f = ShapeFix_Face (face )
2121
+ sf_f .FixOrientation ()
2122
+ sf_f .Perform ()
2123
2123
2124
- return cls (sf .Result ())
2124
+ return cls (sf_f .Result ())
2125
2125
2126
2126
@classmethod
2127
2127
def makeSplineApprox (
You can’t perform that action at this time.
0 commit comments