BACK TO LEARNING HUB
Tutorial 6 Min Read New Feature

Diagnose and Repair Broken STL Meshes

boundary edges
STL Doctor

Find broken edges, flipped normals, and degenerate triangles — then fix them

Slicers are not forgiving. A single non-manifold edge or flipped normal can make Cura miss a wall, PrusaSlicer skip a layer, or Bambu Studio refuse to load the file at all.

The MegaSlicer Pro STL Doctor tells you exactly what is wrong and fixes most of it automatically.

🔍

What Could Be Wrong

Drop the STL onto the page and the diagnostic panel reports five categories of issue:

  • Boundary edges — edges that belong to only one triangle. These are holes in the mesh; the slicer cannot determine "inside" from "outside".

  • Non-manifold edges — edges shared by 3 or more triangles. Caused by overlapping geometry; produces unpredictable wall slicing.

  • Flipped normals — triangles facing inward when they should face outward. The slicer will treat their solid as empty.

  • Duplicate vertices — same XYZ position stored multiple times. Bloats file size and confuses welding.

  • Degenerate triangles — zero-area triangles (two vertices in the same place). Often produced by careless boolean operations.

👁️

Read the Visualisation

Boundary edges are highlighted in red wireframe directly on the model. Rotate around to find them — they are usually clustered around an obvious hole, a missing cap, or a place where two boolean meshes did not quite meet. Once you know where the damage is, you know whether automatic repair is enough or whether you need to go back to the source model.

🔧

Hit Repair

The Repair & Download button runs four passes in order:

  1. Deduplicate vertices using a small tolerance.
  2. Weld coincident edges to close micro-holes.
  3. Drop degenerate triangles.
  4. Recompute outward-pointing normals from connectivity.

You get a cleaned STL file in seconds. Re-upload it to confirm the diagnostics turn green.

When to Give Up and Re-Model

If the boundary-edge count is in the thousands, the mesh has structural damage that no automatic repair will fix — some triangles are simply missing. Open the original in Blender or Meshmixer, regenerate the broken section, and re-export. STL Doctor is for fixing dozens of issues, not rebuilding a model.

Run It Before Slicing

Make this the first stop for any STL you did not author yourself — especially Thingiverse downloads and CAD exports. A 30-second repair pass saves hours of debugging "why does this print have a missing wall on layer 47".

Heal Your Next STL

Drop the file, read the report, hit repair. Slicer-ready STL out in seconds.