Resolving Non-Manifold Three-Face Seams and Winding Reversals in 3D Print Meshes
Why Two-Manifold Topology Forbids Three-Way Edge Junctions
A physically realizable 3D printed solid must bound a well-defined interior and exterior neighborhood around every surface point—the mathematical definition of an orientable 2-manifold. Two distinct topological errors violate this rule even when a mesh looks solid on screen: first, an edge shared by three or more triangles (incidence > 2), which occurs when two cubes touch along a zero-thickness knife edge or an internal partition wall is left unmerged after a failed CAD Boolean union; second, an edge shared by two triangles whose directed half-edges run in the same direction (u → v twice), signaling an inverted face normal.
Slicing kernels rely on winding numbers or parity ray-casting to classify inside versus outside toolpaths. When three facets meet along one spine, inside/outside parity flips ambiguously, causing hollow voids inside structural ribs or rejected print uploads on industrial SLS quoting portals.
- Counts both high-incidence edges (incidence ≥ 3) and two-face winding conflicts (duplicate directed half-edges).
- Lists exact zero-based facet IDs sharing each invalid edge for targeted repair in Blender or MeshLab.
- Highlights non-manifold segments in bright rose (#f43f5e) inside the WebGL2 3D viewport.
Verifying Incidence-3 Detection on edge-incidence.stl
In edge-incidence.stl, facets 0, 1, and 2 all attach to segment (0,0,0)–(10,0,0) like three pages of an open book, yielding 1 incidence-3 non-manifold edge.