Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CadQuery/cadquery
/ _rot
Method
_rot
cadquery/cq.py:1080–1083 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
1078
endVec = Vector(axisEndPoint)
1079
1080
def
_rot(obj):
1081
startPt = obj.Center()
1082
endPt = startPt + endVec
1083
return
obj.rotate(startPt, endPt, angleDegrees)
1084
1085
return
self.each(_rot, False, False)
1086
Callers
nothing calls this directly
Calls
2
Center
Method · 0.45
rotate
Method · 0.45
Tested by
no test coverage detected