Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
936
def
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
944
def
test_selected_faces(s3):
Callers
nothing calls this directly
Calls
5
reset
Method · 0.80
subtract
Method · 0.80
Area
Method · 0.45
val
Method · 0.45
map
Method · 0.45
Tested by
no test coverage detected