MCPcopy
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
902def 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
911def test_fill():

Callers

nothing calls this directly

Calls 5

boxFunction · 0.85
LocationClass · 0.85
cleanFunction · 0.85
movedMethod · 0.45
FacesMethod · 0.45

Tested by

no test coverage detected