MCPcopy
hub / github.com/CadQuery/cadquery / innerShells

Method innerShells

cadquery/occ_impl/shapes.py:4731–4738  ·  view source on GitHub ↗

Returns inner shells.

(self)

Source from the content-addressed store, hash-verified

4729 return Shell(BRepClass3d.OuterShell_s(self.wrapped))
4730
4731 def innerShells(self) -> list[Shell]:
4732 """
4733 Returns inner shells.
4734 """
4735
4736 outer = self.outerShell()
4737
4738 return [s for s in self.Shells() if not s.isSame(outer)]
4739
4740 def addCavity(self, *shells: Shell | Solid) -> Self:
4741 """

Callers 2

test_shellsFunction · 0.80
test_removeFunction · 0.80

Calls 3

outerShellMethod · 0.95
ShellsMethod · 0.80
isSameMethod · 0.80

Tested by 2

test_shellsFunction · 0.64
test_removeFunction · 0.64