cdolan Posted January 2, 2014 Share Posted January 2, 2014 I have created 3D object which involved using a Torus which now I need to rotate as it was drawn in the X-Y axis and i wish it to move to the Y-Z plane, having found the 3D Rotate I did think it would simply be a case of rotating it around the Z axis but it would appear not to be true. Both rotating around the X or Z axis result in no change, only the Y axis rotation works which will only rotate around the X-Y axis (Rotate3D command shown below from script). Anyone got any ideas to how i can make it rotate through the Z axis? ResetOrientation3D; Rotate3D(#0.00000000000d,#90.0000000000000d,#0.0000000000000d); Move3D(151,-29.999999999999801,667); Quote Link to comment
Miguel Barrera Posted January 3, 2014 Share Posted January 3, 2014 Rotate 3D works only on selected objects so you need to deselect all other objects before creating the 3D object. It is usually better to use Set3DRot because it targets a specific object through its handle, which you can get with LNewObj. http://developer.vectorworks.net/index.php/VS:Set3DRot Quote Link to comment
cdolan Posted January 3, 2014 Author Share Posted January 3, 2014 Thank you for the tip, i shall bare it in mind next time i'm doing something similar next time The Set3DRot tool has a lot more functionality than the Rotate3D, wish i knew about that one from the beginning! Thanks again Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.