Interface: MeshInspector
The MeshInspector Core Interface available in 3ds Max 2014 and higher exposes properties for the system for checking and repairing inconsistent data in scene geometry objects.
The Mesh Inspector runs in the background and checks geometry objects for errors after the scene is loaded, before the scene is saved, or when the topology of an object is changed at the base object level or on the stack.
The Mesh Inspector checks for the following potential problems:
- Bad vertex position values such as NAN and or +/- Infinity
- Unallocated map channels
- Unallocated face map channels
- Unallocated vertex map channels
- Array out of bounds indices
- Dead structure references
- Degenerate faces (MNMesh only)
- Spur edges (MNMesh only)
- No degree faces (MNMesh only)
- Face degree mismatch (MNMesh only)
The system works at two levels:
- Level 1 Errors are repaired automatically without user interaction. These errors do not change the appearance or topology of the mesh.
- Level 2 Errors are reported to the user and only repaired if explicitly requested. These errors may change the look or topology of the mesh.
Properties:
MeshInspector.Enable : boolean : Read|Write
When set to True (default), the Mesh Inspector will be enabled and will check geometry objects for Level 2 errors.
When set to False, no Level 2 inspection will be performed. Level 1 errors will still be checked for and repaired automatically as long as MeshInspector.RepairMesh
is set to True.
MeshInspector.RepairMesh : boolean : Read|Write
When set to True (default), the Mesh Inspector will fix Level 1 errors and report Level 2 errors.
When set to False, the Mesh Inspector will not fix any Level 1 or Level 2 errors, only report them according to the settings below. The effectively sets it to Report-Only mode.
MeshInspector.ShowDialog : boolean : Read|Write
When set to True, the Mesh Inspector will show a dialog when one or more Level 2 errors are detected.
When set to False (default), no dialog will be displayed.
.UseOldDeformerThreading : boolean : Read|Write
Forces normals to be threaded using a legacy method for objects using the Deformer class. Intended for internal use.
Methods:
No Methods Exposed.