Message 1 of 3
rotate ucs about Z-axis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
when you have a 3D-object, with a specific origin, i would like to know how it is positioned in space, X, Y, and Z coordinates, but also A, B, and C (like Tilt, Roll, Pitch), where A is rotation Angle around Z-axis, B around Y-axis, and C around X-axis. I am using this for a kuka robot
i can change the position of the UCS, but don't know how to only rotate the ucs about the Z-axis
'--- Set origin of UCS icon
acUCSTblRec.Origin = Psource(0)
acUCSTblRec.XAxis = Psource(0).GetVectorTo(Psource(1))
acUCSTblRec.YAxis = acUCSTblRec.XAxis.GetPerpendicularVector
kind regards
Wouter de Haan