generative modeling for Rhino
Hi,
I am trying to rotate rectangles on a random set of points in the Z-axis by using Rotate3D.
I am not able to understand that what should I input for the 'X-Axis of Rotation' to rotate the rectangles in the Z-Axis. Currently they are rotating only in the X&Y Axis.
Please Help!
Thanks!
Tags:
Permalink Reply by Ching on March 27, 2012 at 6:08pm It's not "X-Axis of Rotation", it's simply a vector input to indentify the axis of rotation you want to use. You can input X vector (1,0,0) or Y vector (0,1,0) or Z vector (0,0,1) or any vector to indicate the axis you want it to rotate around.
For example if you input a Z vector (which is the default) it rotates like a playing vinyl disc. If you input an X vector it does backflips. If you input a Y vector it will do barrel rolls.
Also note that the angle is in radians.
Permalink Reply by Michael Pryor on March 27, 2012 at 6:37pm
Permalink Reply by Eli Meltzer on March 27, 2012 at 6:44pm It sounds like you probably want the normal vector to your surface, which you can get from the N output of the evalSurf component
Permalink Reply by Ankur Verma on March 27, 2012 at 9:03pm thanks a lot guys. Guess it was a pretty simple way out.
Works perfect!
© 2013 Created by Scott Davidson.
Powered by