Skip to content

Commit 30481b3

Browse files
committed
use is_solid property instead
1 parent d1059ff commit 30481b3

File tree

1 file changed

+4
-4
lines changed
  • src/compas_rhino/geometry/brep

1 file changed

+4
-4
lines changed

src/compas_rhino/geometry/brep/brep.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -684,9 +684,9 @@ def make_solid(self):
684684
None
685685
686686
"""
687-
if not self._brep.IsSolid:
688-
capped_brep = self._brep.CapPlanarHoles(TOL.absolute)
689-
if capped_brep:
690-
self._brep = capped_brep
687+
if not self.is_solid:
688+
result = self._brep.CapPlanarHoles(TOL.absolute)
689+
if result:
690+
self._brep = result
691691
else:
692692
raise BrepInvalidError("Failed to convert Brep to solid")

0 commit comments

Comments
 (0)