MCPcopy
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
295def 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
303def test_remove():

Callers

nothing calls this directly

Calls 4

sweepFunction · 0.90
splineFunction · 0.90
extendMethod · 0.80
AreaMethod · 0.45

Tested by

no test coverage detected