We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1059ff commit 30481b3Copy full SHA for 30481b3
src/compas_rhino/geometry/brep/brep.py
@@ -684,9 +684,9 @@ def make_solid(self):
684
None
685
686
"""
687
- if not self._brep.IsSolid:
688
- capped_brep = self._brep.CapPlanarHoles(TOL.absolute)
689
- if capped_brep:
690
- self._brep = capped_brep
+ if not self.is_solid:
+ result = self._brep.CapPlanarHoles(TOL.absolute)
+ if result:
+ self._brep = result
691
else:
692
raise BrepInvalidError("Failed to convert Brep to solid")
0 commit comments