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

Function test_chamfer2D

tests/test_free_functions.py:1052–1059  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1050
1051
1052def test_chamfer2D():
1053
1054 f = plane(1, 1)
1055
1056 res = chamfer2D(f, f.vertices(), 0.1)
1057
1058 assert res.isValid()
1059 assert res.edges().size() == 8
1060
1061
1062def test_sweep():

Callers

nothing calls this directly

Calls 6

planeFunction · 0.85
chamfer2DFunction · 0.85
isValidMethod · 0.80
verticesMethod · 0.45
sizeMethod · 0.45
edgesMethod · 0.45

Tested by

no test coverage detected