MCPcopy
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
159def 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
168def test_shells():

Callers

nothing calls this directly

Calls 4

boxFunction · 0.90
compoundFunction · 0.90
isSolidMethod · 0.80
facesMethod · 0.45

Tested by

no test coverage detected