Hi, I have a polygon and I want to rotate it to a particular plane. Is this possible on Rhino?
Make the plane a surface, use the Orient command.
The command is not available on Rhinoscriptsyntax, and how do I get the U and V in the
I see, I missed the tag about scripting. In Rhinocommon it is a Transform called ChangeBasis.
Here it is in Rhinoscriptsyntax:
You can also do this (assuming you have the plane of the polygon):
import rhinoscriptsyntax as rs xform=rs.XformRotation1(old_plane,new_plane) transformed=rs.TransformObjects(objs,xform)