Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CadQuery/cadquery
/ test_extend
Function
test_extend
tests/test_shapes.py:295–300 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
293
294
295
def
test_extend():
296
297
f = sweep(spline((0, 0), (0, 1), (2, 0)), spline((0, 0, 0), (0, 1, 1), (0, 1, 5)))
298
f_ext = f.extend(1)
299
300
assert f_ext.Area() > f.Area()
301
302
303
def
test_remove():
Callers
nothing calls this directly
Calls
4
sweep
Function · 0.90
spline
Function · 0.90
extend
Method · 0.80
Area
Method · 0.45
Tested by
no test coverage detected