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

Function test_hollow

tests/test_free_functions.py:738–747  ·  view source on GitHub ↗
(box_shape)

Source from the content-addressed store, hash-verified

736
737
738def test_hollow(box_shape):
739
740 res1 = hollow(box_shape, -0.1)
741 res2 = hollow(box_shape, 0.1)
742
743 assert res1.isValid()
744 assert res1.faces().size() == 2 * box_shape.faces().size()
745
746 assert res2.isValid()
747 assert res2.faces().size() == 2 * box_shape.faces().size()
748
749
750def test_hollow_open(box_shape):

Callers

nothing calls this directly

Calls 4

hollowFunction · 0.85
isValidMethod · 0.80
sizeMethod · 0.45
facesMethod · 0.45

Tested by

no test coverage detected