You can also attach a follicle to the face, the follicle will then inherit (part of) it's orientation. Then you can parent things to it.
On 17 February 2016 at 12:13, Erik Spellerberg <[email protected]> wrote: > 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, [email protected] 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/a0ddb1e6-1984-444f-be48-0ef5f084afba%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/a0ddb1e6-1984-444f-be48-0ef5f084afba%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- *Marcus Ottosson* [email protected] -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBXpzS9Sr8e%2BXnasU296rDdWauPhLBt%2B1RYCj-FPQbm5Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
