MCPcopy Index your code
hub / github.com/CadQuery/cadquery / test_revolve

Function test_revolve

tests/test_free_functions.py:988–994  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

986
987
988def test_revolve():
989
990 w = rect(1, 1)
991
992 r = revolve(w, (0.5, 0, 0), (0, 1, 0))
993
994 assert r.Volume() == approx(4 * pi)
995
996
997def test_offset():

Callers

nothing calls this directly

Calls 3

rectFunction · 0.85
revolveFunction · 0.85
VolumeMethod · 0.80

Tested by

no test coverage detected