Home Technical Talk

Maya [python] mirror script help

polycounter lvl 13
Offline / Send Message
bcottage polycounter lvl 13
Hey guys,

All I am trying to do is to make a little python script to make my selected object mirror in the x,y,z axis.


import maya.cmds as cmds
faceSel = cmds.ls(sl=True)
cmds.polyMirrorFace( faceSel, p=(20, 0, 0), mm=0 )

Now this mirrors my object on the x axis fine but i cant seem to get it to mirror on the other axis?

also...is it possible to mirror from the pivot point and for the mirror to not weld the mirror object? i am guessing that is what mm=0 is for right?

Replies

Sign In or Register to comment.