
This task will show you how to clean a mesh. Imported STL files or
generated meshes may present some irregularities such as:
 Corrupted triangles, i.e. triangles that have the same vertex twice,
 Duplicated triangles, i.e. triangles that share the same three
vertices,
 Inconsistent Orientation, i.e. triangles that can not be oriented
consistently with respect to each other,
 Nonmanifold edges, i.e. edges shared by more than two triangles,
 Nonmanifold vertices, i.e. vertices shared by two or more connected
shells.
A mesh may also present some structural problems such as:
 Orientation problems, i.e. all the triangles are not oriented in the
same direction,
 Isolated triangles, i.e. triangles belonging to small connected areas
of the mesh,
 Disconnected zones, i.e. the mesh is made of several disconnected
zones,
 Triangles with long edges.
Mesh cleaner proposes two families of treatments on such meshes:
 Deletion, i.e. visualization and deletion of corrupted or duplicated
triangles,
of triangles with an inconsistent orientation, of nonmanifold edges, or
nonmanifold vertices,
of isolated triangles and triangles with long edges.
 Structure, i.e. reorientation or split.



Click Mesh Cleaner
and select the mesh to process.
The dialog box is displayed.

Go to the tab of the treatment you want to
apply.

In the
Deletion tab, click
Analyze.

Once the analysis is completed, the
line(s) corresponding to the problem(s) found become active.
The Statistics
column is updated with the number of cases found for the four first
lines.
Here, only nonmanifold vertices have been found, and there are 5 such
vertices. 


You can visualize the problems found:
Select the check boxes of the problems you want to visualize. By
default, they are displayed in white.
You can choose another color from the
Preview colors
list. 


For
Isolated Triangles,
use the slider to define the maximum number of triangles that a
disconnected area may contain.
If you set the slider to n, all the areas containing between 1 and n
triangles will be visualized, then deleted.
The limit values of the slider are defined according to the mesh.

For
Long Edges, use the spinner
to define the maximum allowed length edge of triangles.
All triangles with edges longer than this value will be deleted.

Click Apply to delete the unwanted
elements and OK to exit the action and save the processed part.

In the Structure
tab,

Click OK to save the processed part and exit
the action.
