Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
988
def
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
997
def
test_offset():
Callers
nothing calls this directly
Calls
3
rect
Function · 0.85
revolve
Function · 0.85
Volume
Method · 0.80
Tested by
no test coverage detected