What is the proper syntax for choosing the ArrAxis in the context of rs.RotateObject?
My script is stuck producing the default Z-axis rotation, where I want to be able to control X and Y axis as well.
rotation_x, rotation_y, rotation_z = random.sample(range(0, 360), 3)
mesh = rs.RotateObject(mesh, center_point, rotation_x, axis=βxβ, copy=False) # I have also tried using [1,0,0]
I have tried a variety of different ways. Does someone have the definitive answer?
Thank you!!
Here is the definition of RotateObject.
http://developer.rhino3d.com/api/rhinoscript/object_methods/rotateobject.htm