Version 0.60.0

remove_deg_triang

Removes degenerate triangles from a solid.

Signatures

  •   remove_deg_triang( float epsilon )

Details

In some cases, the mesh representation of a solid may contain degenerate triangles. The modifier eliminates these triangles from the solid.

The definition of a degenerate triangle requires a critical distance for deciding whether two points or a point and a line are taken to be equal. This value epsilon is given as argument to the modifier.

Note

The resulting mesh may not be isomorphic to the original one.

Example

 make remove_deg_triang( 2.5E-5 ) >> mesh( "my_mesh.stl" ) 

Casts To

modifier

Parameters

epsilon

Epsilon value. If two points of the triangle or one point and its countering edge have a shorter distance than this, the triangle is taken to be degenerate and removed.

🗙

Search results for