Tool STL repair
STL repair: check and fix a mesh
Find out why a slicer complains about your STL, and fix it: the file is checked for holes, flipped faces and broken triangles, repaired on your device, and you download the result. The sample is a flange with holes and flipped faces.
01 Checks
What the repair checks
| Check | What it means |
|---|---|
| Watertight | Whether the surface is closed, which a slicer needs to know what is inside the part. |
| Open (boundary) edges | Edges used by only one triangle: the rims of holes. |
| Non-manifold edges | Edges shared by three or more triangles, where surfaces meet in a way no solid can. |
| Flipped edges | Neighbouring triangles that face opposite ways, so the inside and the outside disagree. |
| Degenerate triangles | Triangles with no area, for example with two equal corners. |
| Duplicate triangles | The same triangle twice. |
What it fixes
- Welds the cornersCorners that should be one point become one point, so neighbouring triangles connect.
- Removes bad trianglesDegenerate and duplicate triangles are dropped.
- Turns faces the right wayEvery connected part is made consistent, and closed parts face outward.
- Fills holesHoles with a border of up to 10,000 edges are closed with a fan of triangles, coloured like the surface around them.
It does not remove self-intersections or thicken thin walls, and it leaves holes with a pinched border open; the report under the preview says when something is left for a modelling program such as Blender or Meshmixer.
02 FAQ
Questions and answers
Is my file uploaded?
No. Everything runs in this page as a WebAssembly build of the cadshot engine: the file is read into your browser's memory, processed there and saved from the page. Nothing is sent to a server.
Why does my slicer say the STL has errors?
Usually because the mesh is not closed: a missing triangle leaves a hole, or a part of the surface faces inward. Slicers then guess where the inside is, which can leave gaps or extra walls in the print. The check above lists exactly which of these problems the file has.
Will the repair change the shape?
Only where it fixes something: holes get new triangles and flipped faces are turned around. Every other triangle stays where it was.
Can it repair OBJ, 3MF or GLB files too?
Yes. Open any of them and download the repaired model as STL, 3MF, OBJ, PLY or GLB.
What if the report still shows problems?
Non-manifold edges and holes with pinched borders need a decision a program cannot make safely. Fix them in a modelling program, or try your slicer's own repair, then check the file here again.
Can I do this from my own code?
Yes. The same engine runs behind the HTTP API: POST /v1/convert converts, POST /v1/analyze?repair=1 checks and repairs, and POST /v1/batch handles a ZIP of files in one request. The free plan includes 100 units a month. See the docs.
03 More tools
Related tools
Convert files from your own code
The same converter runs behind the HTTP API: POST /v1/convert with the file as the body returns the converted model, and STEP and IGES work there too. EU-hosted, with a free plan of 100 units a month.