STLWorkbenchPre-Slicer Mesh Suite

Half-Edge Manifold Diagnostics & Auto-Healing

STL Repair Online — Fix Holes, Non-Manifold Edges & Normals

Inspect open boundary loops highlighted directly in 3D, run deterministic local auto-repair with cavity-aware normal calibration, and verify before-and-after manifold metrics in your browser.

Loaded: broken_enclosure_demo.stl
Demos:
No mesh loaded. Upload an STL/3MF file or pick a built-in demo model.

How Local STL Repair Diagnoses & Heals Broken 3D Meshes

Slicers require every 3D print model to define an unambiguous inside and outside. When an exported STL contains missing triangles, micro-cracks between adjacent patches, T-junction seams, inverted faces, or non-manifold fins, slicers can drop entire layers, fill hollow interiors solid, or refuse to slice. Our browser STL repair workbench audits every edge and vertex locally in a Web Worker and applies a transparent, step-by-step repair pipeline with before-and-after verification.

1. Half-Edge & Pinch-Vertex Inspection

When you open a file, the auditor builds a half-edge table and checks every active vertex link. Any edge used by only one triangle is flagged as an open boundary edge (drawn in red). Any edge shared by three or more faces is flagged as non-manifold (drawn in amber). Vertices where two shells touch only at a single shared point are counted under Non-Manifold Pinch Vertices and fail the watertight check so subtle slicer hazards are never hidden.

2. Non-Destructive Repair & Cavity Preservation

The default pipeline welds coincident vertices within your chosen millimeter tolerance, drops duplicate and zero-area degenerate faces, prunes non-manifold stray fins, splits collinear T-junction edges, and caps open holes with ear-clipping triangulation while refusing to insert zero-area triangles. Crucially, normal unification computes a 3D containment hierarchy across closed shells: outer bodies stay positively oriented while hollow internal cavities remain inward-facing so hollow parts keep their true material volume.

3. Opt-In Physical Debris Filtering & Audit Export

Deleting disconnected shells is turned off by default so multi-part assemblies and low-polygon mechanical brackets are never silently dropped. If a 3D scan has tiny floating noise shards, enable the opt-in debris checkbox to preview exactly how many shells fall below all three physical thresholds (volume, surface area, and bounding-box diagonal) before running repair. Download the repaired Binary STL plus JSON or TXT diagnostic logs for print-farm QC records.

Recommended Vertex Weld Tolerance & Pipeline Settings

Mesh Defect PatternSuggested Weld ToleranceRecommended Pipeline Options
Fine CAD / thin walls (< 0.5 mm)0.01 – 0.02 mmKeep tolerance well below half your thinnest wall to avoid collapsing opposite wall vertices.
Standard FDM brackets & enclosures0.05 mm (default)Fill holes ON, Cavity-aware normals ON, Debris deletion OFF unless stray scan shards exist.
Sculpts / photogrammetry with micro-gaps0.08 – 0.15 mmEnable opt-in debris cleanup only after inspecting the preview count of tiny floating shells.
Hollow vessels with internal cavities0.02 – 0.05 mmKeep Cavity-aware normals ON and verify Signed Volume after repair matches expected wall volume.

When Partial Repair Remains Open

STLWorkbench will never fabricate zero-area degenerate triangles just to report zero boundary edges. If a mesh contains a severely folded or self-intersecting boundary loop that cannot be capped cleanly in 2D projection, the loop is skipped, the warning is recorded in the diff card, and the Watertight status honestly stays FAIL so you can address complex remeshing in dedicated desktop tools.

Next Steps After Repairing Your Mesh

Once your model achieves a Watertight PASS with zero open boundary edges, you can resize or crop it in the STL Editor, partition oversized parts to fit your printer bed in the STL Splitter, or extract filament grams and client pricing in the 3D Print Cost Calculator.

STL Mesh Repair FAQ

What mesh defects does the Half-Edge Manifold Auditor detect?

It inspects every edge and vertex link to count open boundary edges (holes and cracks), non-manifold edges shared by more than two triangles, non-manifold pinch vertices where disconnected fans touch at a single vertex, inconsistent/flipped face winding, degenerate zero-area triangles, disconnected shells, and net signed volume.

Does Auto-Repair invert internal hollow cavities or delete small multi-part shells?

No. Normal calibration builds a 3D containment hierarchy using ray-parity testing so outer solids stay positively oriented while internal cavities remain inward-facing (preserving hollow wall volume). Disconnected shell deletion is OFF by default and only runs when you explicitly opt in using physical volume, surface area, and bounding-box thresholds.

How does STL Repair handle T-junction cracks along adjacent faces?

Before hole capping, the pipeline detects boundary vertices that lie collinearly along an adjacent open boundary edge and splits the neighboring long-edge triangle cleanly instead of bridging collinear points with zero-area degenerate faces.

What do the red and amber lines in the 3D viewport mean?

Red line segments highlight open boundary edges where triangles are missing or separated by a crack. Amber segments highlight non-manifold edges shared by three or more faces.

Does passing Watertight prove a mesh has zero self-intersections?

Watertight confirms closed 2-manifold edge and vertex topology, consistent orientation, zero degenerate triangles, and positive net signed volume. Because topological checks do not prove absence of global surface self-intersections, always preview sliced layers in your slicer before printing.