Mirror Polygon For Maya
 

I needed to develop a tool in order to mirror polygon objects for my “Pose Space Blender” tool. Since we work along x axis the tools supports only x axis for now.

The plug-in name is polyWorks because I have been planning to bring my all polygon tools under this plug-in.

I decided to write a plug-in for this purpose instead of using Mel since plug-in works faster than Mel. If you want to use Mel based mirror tools you can find several of them at www.highend3d.com

 
 
Installation
 

Download Mirror Polygon | 150 KB | rar | Maya 7.0, 8.0, 8.5, 2008, 2009

Way one: Copy “polyWorks.mll” file either your plug-in folder or a folder that you have defined as a plug-in path.
Example path: “C:\Program Files\Autodesk\Maya2008\bin\plug-ins”)
Copy “MirrorPolygon.mel” file to your script folder.
Example path:“C:\Documents and Settings\User\My Documents\maya\2008\scripts”)
Way two: If you are using “Tool Server” copy “polyWorks.mll” file under related folder.
Example path: x:\ToolServer\Plugin_mll\2008\PolyWorks
Copy “MirrorPolygon.mel” file to your script folder.
Example path: x:\ToolServer\Script\MirrorPolygon
Please visit following address for more details about “Tool Server”. http://toolserver.safakoner.com

 
 
Screenshot
 

 
 
How To Use
 

Mirror polygon tool has a GUI. In order to open it up write PolyWorks:MirrorUI; in script editor and execute it. GUI will appear. Select base geometry and then select duplicated and changed geometry. Select direction, adjust tolerance as needed.

Use scale float slider in order to define scale of the mirrored side. Sometimes you may need to scale mirrored side if the model came from another application.

Search field will be looking for the word in the name of the shape that you want to mirror. It replaces it with the word in replace field. Click apply button in order to mirror selected polygon object.

Open mirrorPolygon.ma file. Select “base” and then select “baseUpperLf”. Leave settings as it is. Click apply button. Now select “base” then select “baseLowerRt”. Select direction “– to +”. Use swap button to swap search and replace fields. Click apply button.

Please don't hesitate to contact me. I am pleased to hear your comments, wishes and critiques for further tools. Please kindly send me bug reports.

Thank you for downloading and using the plug-in.