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

Method shell

cadquery/occ_impl/shapes.py:1084–1092  ·  view source on GitHub ↗

Select a single shell.

(self, selector: Selector | str | None = None)

Source from the content-addressed store, hash-verified

1082 )
1083
1084 def shell(self, selector: Selector | str | None = None) -> Shell:
1085 """
1086 Select a single shell.
1087 """
1088
1089 return tcast(
1090 Shell,
1091 self._filter_single(selector, map(Shape.cast, self._entities("Shell"))),
1092 )
1093
1094 def solid(self, selector: Selector | str | None = None) -> Solid:
1095 """

Callers 1

hollowFunction · 0.45

Calls 2

_filter_singleMethod · 0.95
_entitiesMethod · 0.95

Tested by

no test coverage detected