Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CadQuery/cadquery
/ test_chamfer
Function
test_chamfer
tests/test_free_functions.py:955–963 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
953
954
955
def
test_chamfer():
956
957
b = box(1, 1, 1)
958
959
r = chamfer(b, b.edges(
">Z"
), 0.1)
960
961
assert r.isValid()
962
assert len(r.Edges()) == 20
963
assert r.faces(
">Z"
).Area() < 1
964
965
966
def
test_extrude():
Callers
nothing calls this directly
Calls
7
box
Function · 0.85
chamfer
Function · 0.85
isValid
Method · 0.80
Edges
Method · 0.80
edges
Method · 0.45
Area
Method · 0.45
faces
Method · 0.45
Tested by
no test coverage detected