Aug 16, 2007 #1 lwf Mechanical Aug 9, 2007 19 0 0 US what is the command to rotate a built object for a certain angle? Thank you.
Aug 17, 2007 1 #2 jiligeo Geotechnical Feb 24, 2005 145 0 0 DE You can use vtran command. You have to define new local coordinate systems and transfer your object to it. 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 Upvote 0 Downvote
You can use vtran command. You have to define new local coordinate systems and transfer your object to it. 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
Aug 17, 2007 1 #3 meshparts Mechanical Feb 17, 2005 490 0 0 DE Hello, 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 Upvote 0 Downvote
Hello, 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
Aug 17, 2007 Thread starter #4 lwf Mechanical Aug 9, 2007 19 0 0 US Thank both of you. Have a good weekend! Upvote 0 Downvote