rotate an object
rotate an object
(OP)
what is the command to rotate a built object for a certain angle? Thank you.
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting GuidelinesJobs |
|
RE: rotate an object
For example
! define coordinates of the rotation point
xrot=0.5
yrot=0.5
zrot=0.5
! define rotation angle
xang=15
yang=0
zang=0
local,11,,xrot,yrot,zrot
local,12,,xrot,yrot,zrot,xang,yang,zang
csys,11
vtran,12,1,,,,,1
RE: rotate an object
there is one small problem with jiligeo's input code:
If xang has to be a rotation about the x axis, yang about y, z and about z, then angle sequence is:
local,12,,,,,zang,xang,yang
Regards
Alex
RE: rotate an object