You could try the mel command snap3PointsTo3Points()

cmds.select (vertices_snap_to[:3], r=True)
cmds.select (vertices_snap[:3], addFirst=True)
mel.eval("snap3PointsTo3Points(0)")

On Tuesday, February 9, 2016 at 7:05:34 PM UTC+1, med....@gmail.com wrote:
>
> Hi, I'm new in python , I try to make script to generate tree paper so 
> please , can u tell me how to orient a plane with face's normal. Thanks 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/a0ddb1e6-1984-444f-be48-0ef5f084afba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to