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

Function test_subtract

tests/test_sketch.py:936–941  ·  view source on GitHub ↗
(s3, f)

Source from the content-addressed store, hash-verified

934
935
936def test_subtract(s3, f):
937
938 assert s3.map(lambda x: f).subtract().reset().val().Area() == approx(0.9)
939
940 # check that subtract without selection does not raise
941 s3.subtract()
942
943
944def test_selected_faces(s3):

Callers

nothing calls this directly

Calls 5

resetMethod · 0.80
subtractMethod · 0.80
AreaMethod · 0.45
valMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected