Moving and rotate a object by another object using python

Hey guys, how can i move and rotate a object by another object using python. In image it’s a contour of object who has been rotated and moved from origin point, and i want using python to match with the original object
image

Hi @hilohe.gigi1,

Take a look at OrientObject in the rhinoscriptsyntax documentation here: rhinoscriptsyntax (rhino3d.com). Supply three reference and three target points so that it works like the Rhino command Orient3D.

Regards
Jeremy

1 Like