File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -344,6 +344,13 @@ def solids(self) -> list["OCCBrep"]:
344344 self ._solids = solids
345345 return self ._solids
346346
347+ @property
348+ def naked_edges (self ) -> list [OCCBrepEdge ]:
349+ naked_edges = []
350+ # see ShapeAnalysis_FreeBounds.GetOpenWires()
351+ # see ShapeAnalysis_FreeBounds.GetClosedWires()
352+ return naked_edges
353+
347354 # ==============================================================================
348355 # Geometric Properties
349356 # ==============================================================================
@@ -1804,7 +1811,9 @@ def make_solid(self):
18041811
18051812 """
18061813 if self .type == TopAbs .TopAbs_SHELL :
1807- self .occ_shape = BRepBuilderAPI .BRepBuilderAPI_MakeSolid (self .occ_shape ).Shape () # type: ignore
1814+ # self.occ_shape = BRepBuilderAPI.BRepBuilderAPI_MakeSolid(self.occ_shape).Shape() # type: ignore
1815+ fixer = ShapeFix .ShapeFix_Solid ()
1816+ self .occ_shape = fixer .SolidFromShell (self .occ_shape ) # type: ignore
18081817
18091818 def overlap (
18101819 self ,
You can’t perform that action at this time.
0 commit comments