Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1052
def
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
1062
def
test_sweep():
Callers
nothing calls this directly
Calls
6
plane
Function · 0.85
chamfer2D
Function · 0.85
isValid
Method · 0.80
vertices
Method · 0.45
size
Method · 0.45
edges
Method · 0.45
Tested by
no test coverage detected