# Mesh Repair

> Close holes and fix normals, keeping 3MF parts and colours.

- Page: https://3dprintkit.tools/tools/mesh-repair/
- Category: Inspect & fix
- Opens: .stl, .3mf, .obj
- Cost and privacy: Free. Runs in your browser; files are never uploaded. No account.

## When you need it
Your slicer warns about open edges, non-manifold edges or flipped normals, or a model from Thingiverse, Printables or MakerWorld slices with missing walls or gaps. On a Mac, Bambu Studio, OrcaSlicer and PrusaSlicer don't offer their Windows-only model fix, so you need another way to repair an STL. Mesh Repair also works on painted 3MF projects without flattening their colours.

## How to use it
1. Under **Add a model**, drop an STL, 3MF or OBJ on **Drop a model to repair**. You see which slicer made it, its objects and parts, the filaments used and whether it has colour painting.
2. The repair starts at once. **What was fixed** lists each change with a count: triangles with no area, doubled triangles, faces turned outwards, inside-out pieces and closed holes.
3. Leave **Close holes** on to cap every gap. Turn it off for a model meant to be an open surface, and the repair runs again without capping.
4. Check the repaired model in the preview, then press **Download STL** or **Download 3MF**.

## What you get
- STL or OBJ in: a binary STL named `<name> (repaired).stl`, centred on the origin with its base at zero height.
- 3MF in: `<name> (repaired).3mf`, written for the slicer it came from (Bambu Studio, OrcaSlicer, PrusaSlicer or a plain 3MF). Objects, parts, painted colours, plates and settings stay as they were.
- A report. "Now a closed solid" means slicers will read it without repair warnings. If edges are still open or over-shared, it says how many parts still have problems.

## Good to know
- Only exact problems are touched. Corners are joined only when they sit at exactly the same position, so cracks between edges that almost meet are not stitched.
- Each hole is capped with a fan of triangles from its centre. Small gaps close cleanly; a large, ragged opening gets a rough cap, so check the preview.
- It doesn't rebuild overlapping or self-intersecting surfaces, merge separate shells or thicken thin walls.
- A hollow cavity inside another piece stays a cavity. It isn't turned inside out.
- A model that is already a closed solid comes back unchanged.
- Too many triangles to slice comfortably? Run the result through Simplify to Limit.

## Questions

### How do I fix a non-manifold STL for free?

Drop the STL into Mesh Repair on 3dprintkit. It closes holes, turns flipped triangles outwards and removes zero-area and doubled triangles, then gives you a repaired binary STL. It doesn't rebuild surfaces that overlap or cross each other, so a few non-manifold edges can remain.

### How can I repair an STL on a Mac without Netfabb?

Mesh Repair on 3dprintkit runs in the browser on a Mac, with nothing to install, and repairs STL, 3MF and OBJ files. It caps holes, fixes flipped normals and inside-out pieces, and removes bad triangles; it does not fix self-intersecting surfaces.

### Does repairing a 3MF keep its painted colours?

Yes. Mesh Repair repairs each part of a 3MF on its own and writes the same 3MF back, so objects, parts, painted colours, plates and settings stay as they were. Only the meshes change.

### Can I repair a model without closing its holes?

Yes. Turn off Close holes in Mesh Repair and it still removes bad triangles and fixes normals, but leaves open edges in place. That suits a model that is meant to be an open surface.

### Why does my slicer still warn after repairing a model?

Mesh Repair reports how many parts still have edges that are open or shared by more than two faces. That usually means surfaces that overlap or cross each other, which it doesn't rebuild. Most slicers still print such models, so check the sliced preview.

## More in Inspect & fix

- [Model Viewer](https://3dprintkit.tools/tools/model-viewer.md): Open STL, 3MF and OBJ files with plates, colours and sizes.
- [3MF Inspector](https://3dprintkit.tools/tools/3mf-inspector.md): See the printer, filaments, settings and anything odd inside a 3MF before you open it.
- [Overhang Heatmap](https://3dprintkit.tools/tools/overhang-heatmap.md): Shade every face past your overhang angle.
- [Weight & Volume](https://3dprintkit.tools/tools/weight-volume.md): Grams, metres and volume for any material, before you slice.
- [Lay Flat](https://3dprintkit.tools/tools/lay-flat.md): Find the best face to put on the bed.
- [Cut & Key](https://3dprintkit.tools/tools/cut-and-key.md): Split a model that’s too big for your bed, with pegs, dowels or pins to join it.
- [Simplify to Limit](https://3dprintkit.tools/tools/simplify-mesh.md): Shrink a model to a triangle count or file size, with a preview.
