Mesh Fixing Tools
This script include state of the art methods that can help fix bad or broken meshes:
- [ code | paper ] Marco Attene: A lightweight approach to repairing digitized polygon meshes. The Visual Computer 26(11): 1393-1406 (2010).
- [ code | paper ] Alec Jacobson, Ladislav Kavan, Olga Sorkine-Hornung: Robust inside-outside segmentation using generalized winding numbers. SIGGRAPH (2013).
- [ code | paper ] Bernstein G., Fussell D.: Fast, Exact, Linear Booleans. Computer Graphics Forum 28, 5 (2009), 1269–1278.
In order to load in 3ds max, go to "Utility" (the hammer icon) --> MAXScript --> Open Script --> then load the 'MeshFixUtility.ms'. You can now drop down to the 'Meshfix Utility' and see buttons for the tools. Select an object then click the one you want.
The three tools are Meshfix, Winding numbers, and Cork library. Meshfix is a fast and general tool that fix a number of problems in meshes such as duplicated verts or faces, the newer winding number approch is better at dealing with many dissconnected parts. The cork library is added to help merge highly complex shapes.
All executables are compiled for Windows 32 bit, and have been tested on 3ds max 2014 x64 on Windows 8. Unfortunately, the winding number method requires Matlab 2012 32-bit and some basic setup for extracting and setting some paths.