![]() |
||||
![]() |
MEL Scripts: lowmanMirror.melIn April of 2005, I gave a quick animation demonstration at the monthly meeting of A Bunch of Short Guys, and used the free LowMan character rig in my demo. I was animating a skip cycle, and during the part of the demonstration where I needed to create a mirrored version for one of the extreme poses, someone asked if Maya could do that automatically. I said that such a feature wasn't built into the program, but it could probably be scripted. Well, that little side comment kept bubbling to the surface over the next couple weeks, so I finally sat down and hacked together a script that would mirror the pose of any LowMan rig. I learned a lot of new things about MEL scripting in the process, and while I probably won't use the script much myself, I figured someone out there might find some benefit from it. So here it is! File
This zip file contains:
CreditsThe whole script is my fault...er...responsibilty. UsagePut the script into your default Maya scripts directory. In the command line, enter:
For the sake of convenience, I recommend making a shelf button from this line of code. An icon file is provided so you can add it to your existing LowMan shelf, and it'll look like one of the family. Select one or more control objects in a LowMan rig, and run the script (manually via the command line, or via a shelf button). The character's current pose will be mirrored, including facial controls. A few special things to notice...
Questions? Comments? Requests? Drop me a line! |
![]() |
||
![]() |