Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CadQuery/cadquery
/ test_clean
Function
test_clean
tests/test_free_functions.py:902–908 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
900
901
902
def
test_clean():
903
904
b1 = box(1, 1, 1)
905
b2 = b1.moved(Location(1, 0, 0))
906
907
len((b1 + b2).Faces()) == 10
908
len(clean(b1 + b2).Faces()) == 6
909
910
911
def
test_fill():
Callers
nothing calls this directly
Calls
5
box
Function · 0.85
Location
Class · 0.85
clean
Function · 0.85
moved
Method · 0.45
Faces
Method · 0.45
Tested by
no test coverage detected