RepairMesh

RepairMesh[mreg]

repairs defects in the mesh region mreg.

RepairMesh[mreg,{def1,}]

repairs only the specified defects def1,.

Details and Options

  • RepairMesh repairs defects in mesh-based regions.
  • Possible geometrical defects on surface include:
  • "HoleEdges"close holes in the surface
    "TJunctionEdges"remove T junctions
    "TinyFaces"fix faces with near-zero area
  • Possible topological defects include:
  • "IsolatedVertices"remove vertices without incident edges
    "DanglingEdges"remove edges without incident faces
    "SingularVertices"fix vertices with a non-disc neighborhood
    "TinyComponents"remove tiny connected mesh components
    "FlippedFaces"fix faces that point inward
  • RepairMesh has the same options as MeshRegion.

Examples

open allclose all

Basic Examples  (1)

Fill holes:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Scope  (8)

Options  (11)

See Also

FindMeshDefects  Printout3D  MeshRegion  BoundaryMeshRegion

Introduced in 2016
(11.0)