Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CadQuery/cadquery
/ test_isSolid
Function
test_isSolid
tests/test_shapes.py:159–165 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
157
158
159
def
test_isSolid():
160
161
s = box(1, 1, 1)
162
163
assert Solid.isSolid(s)
164
assert Solid.isSolid(compound(s))
165
assert not Solid.isSolid(s.faces())
166
167
168
def
test_shells():
Callers
nothing calls this directly
Calls
4
box
Function · 0.90
compound
Function · 0.90
isSolid
Method · 0.80
faces
Method · 0.45
Tested by
no test coverage detected