JuliaGeometry/Meshes.jl

Cleaning and repairing meshes

Open

#354 opened on Dec 25, 2022

 (17 comments) (0 reactions) (0 assignees)Julia (98 forks)auto 404
featurehelp wanted

Repository metrics

Stars
 (460 stars)
PR merge metrics
 (PR metrics pending)

Description

In #353 some cleaning functions were proposed to eliminate vertices of a mesh that are orphan or to "merge" them somehow. Instead of providing this functionality as isolated functions, we should aim for a more composable transform interface.

I propose that we start listing the possible cleaning operations that we would like to implement in this issue, and then we can open separate PRs for each of them. A good list of cleaning operations is available in the MeshLab project as discussed in our Zulip channel.

  • 0 = only duplicated vertices and faces are removed
  • 1 = remove unreferenced vertices
  • 2 = remove non-manifold faces
  • 3 = remove degenerate faces
  • 4 = remove non-manifold vertices
  • 5 = split non-manifold vertices by threshold
  • 6 = merge close vertices (given a radius)
  • 7 = coherently orient faces

Contributor guide