Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This script is written by Will Anielewicz. Free to use. Based on the minimum width distance the script evenly subdivides a polgon mesh running a series of polyCut in X and Y planes. The point is to make sure all faces are no larger than the minimum width. This can siginificantly increase the face count to enable smooth deformation of a polygon mesh. The selected mesh is duplicated so the original is not modified.
Download the zip archive called evendivide_retopo_smooth.zip. Extract the script file called evendivide_retopo_smooth.py. Copy the content into a maya python scripteditor
Select the polygon mesh node then run the script. A GUI will pop open. Decide the minimum size you want the faces to be by filling in the "polycut min width" value. (The smaller the number you enter the more faces will result.) Use the three buttons "subdivide", "retopo", "smooth" in sequence.
The last object the script creates is the result.
Here is a before/after example using the maya nonlinear bend deformer.