cvShapeInverter

Fork me on GitHub

Direct download

Starting in Maya 2017, Maya comes with the equivalent command, invertShape.``` import maya.cmds as cmds cmds.loadPlugin(‘invertShape’, qt=True) cmds.invertShape()


Description
===========

A script and deformer that can invert a shape through a deformation chain so the shape can be applied as a front of chain shape. This has the same functionality as Christian Breitling's [correctiveShape](http://www.b-ling.com) plug-in. He stopped providing it after Maya 2008 so I'm providing a Python version that doesn't need to be compiled.

Installation
============

cvshapeinverter is a Maya module that can be installed like all other Maya modules. You can do one of the following:

*   Add the cvshapeinverter root directory to the MAYA\_MODULE\_PATH environment variable.
*   Add the cvshapeinverter root directory to the MAYA\_MODULE\_PATH in your Maya.env. e.g. MAYA\_MODULE\_PATH += /path/to/cvshapeinverter
*   Edit the cvshapeinverter.mod file, and replace the ./ with the full path to the cmt root directory, then copy the cmt.mod file to where your modules are loaded from.

Usage Notes
===========

Pose your skinned model in the pose that you want to correct. Duplicate the mesh and sculpt in your fixes. Select the original skinned model, shift select the corrected model and run:

\[py\]import cvshapeinverter cvshapeinverter.invert()\[/py\] An inverted shape will be generated which you can then apply as a front of chain blendShape target. The generated shape will have a live deformer affecting it so edits you make on your corrected mesh will be inverted through the deformer.
comments powered by Disqus