Last updated on
Jul 13, 2023
Mesh cleanup
In: Substance Model graph/Modification
Intermediate
Description
The Mesh cleanup node analyses and modifies the geometry of input meshes to solve inconsistencies, optimise vertex density and smooth/breakup normals as specified.
Parameters
- Input scene Scene
The input scene holding the meshes which should be processed. - Enforce manifoldness Boolean
This parameter modifies the geometry of the mesh as possible so it is manifold. Exceptions include meshes which do not feature closed volumes such as planes.
Manifoldness refers to the consistency and cohesiveness of a mesh's geometry as a closed volume, and encompasses a series of properties such as segments connecting not less nor more than two faces, a closed mesh having no internal faces and two closed volumes not being connected by a single vertex. As a rule of thumb, non-manifold meshes break at least one of these properties and could not exist in the real world. As such, manifoldness is a critical criterion for 3D printing. - Collapse duplicated vertices Boolean
Collapses vertices sharing the same location into a single vertex which is connected to all vertices the original ones were connected to. - Close holes Boolean
Extends concave borders, which number of segments exceeds a defined tolerance, with new geometry collapsed into a single point. - Hole tolerance Integer
Sets the threshold for the number of segments beyond which a concave border is considered to a hole which should be closed.
Note: This parameter is available when the Close holes parameter is set to True. - Split long edges Boolean
Splits edges which length exceed a defined threshold into two or more connected edges of equal length. The additional vertices are connected as triangles to the surrounding geometry so as to preserve the integrity of the surface. - Long edge tolerance Float
Sets the threshold for the edge length beyond which edges should be split.
Note: This parameter is available when the Split long edges parameter is set to True. - Remove short edges Boolean
Collapses connected edges which length is less than a defined tolerance into a single vertex which is connected to all vertices the collapsed edges were connected to. - Short edge tolerance Float
Sets the threshold for the edge length beneath which edges should be collapsed into vertices.
Note: This parameter is available when the Remove short edges parameter is set to True. - Remove degenerate triangles Boolean
Collapses degenerate triangles into a single edge – i.e. collapses one of the triangles' vertices into with another one.
Degenerate triangles have all three of their vertices on a same line and their area is thus zero. - Compute smooth normals Boolean
Overwrites the vertex normals with smoothed or broken up normals according to an angle threshold. - Normal Tolerance Float
Sets the threshold for the angle between adjacent faces, beyond which normals are smoothed across these faces.
Note: This parameter is available when the Compute smooth normals parameter is set to True.
Example Images