Polymend

How to fix non-manifold edges in an STL

Updated

A non-manifold edge is shared by three or more triangles, so a slicer cannot tell the inside of the model from the outside. Usually the cause is a stray triangle stuck to the surface or a small hole beside it. Drop the STL or GLB on Polymend: it removes stray triangles, patches small holes and turns reversed faces, then gives you back an STL or 3MF. It is free and runs in your browser.

What non-manifold and open edges are

A printable model is a closed surface where every edge is shared by exactly two triangles, one on each side. Two faults break that rule:

Triangles facing the wrong way, called reversed faces, usually come with them. A model can look perfect on screen and still carry dozens of these faults.

How to fix them with Polymend

  1. Open polymend.xyz and drop in the STL or GLB.
  2. Polymend removes stray triangles stuck to the surface, patches holes of up to 100 edges and turns triangles that face the wrong way.
  3. Compare before and after side by side, and step through each change.
  4. Download the repaired STL or 3MF and open it in your slicer.

In testing, twelve detailed figures each had 6 to 54 non-manifold edges and 16 to 114 open edges. Polymend brought all twelve to zero, and all twelve then passed the mesh checks of Bambu Studio and a second slicer.

What it leaves alone

Polymend is built for small faults and changes as little as it can. It does not fill holes larger than 100 edges, wide openings that may be meant (like the top of a vase), thin sheets with no thickness, or badly damaged scans. When something is left, the result says "Partly repaired". For those models, a 3D editor such as Blender will do better: in Edit Mode, Select, Select All by Trait, Non Manifold shows every fault so you can fix it by hand.

Questions

Will a non-manifold model still print?

Sometimes. Many slicers try to close small faults themselves, but the result can have missing layers, gaps in walls or stray strands. Fixing the mesh first removes the guesswork.

Does fixing non-manifold edges change my model?

Very little. Polymend deletes stray triangles, usually a few dozen out of hundreds of thousands, and adds a few to patch small holes. No existing point is moved, except that points a hair apart on the two sides of a seam are joined. A model with no faults is left exactly as it is.

Is it free?

Yes. Polymend is free to use and open source under the MIT license.

Open Polymend

More guides

Created by Ryan Haigh