STL MESH GUIDES
Inverted Normals in STL Files
Every triangle in an STL has a front and a back. The front side is defined by the order of its three corners (counter-clockwise when you look at the front) and, in most files, also by a stored normal vector. On a correct solid every front faces outward. When some triangles face inward, they are called inverted or flipped normals.
Why flipped normals matter
A slicer uses face orientation to decide which side of the surface is solid. If a patch of faces points inward, that patch can be read as the inside of a hole. Typical symptoms are missing walls in the layer preview, unexpected gaps, or infill appearing outside the part. In a viewer, inverted faces may look darker or invisible depending on the lighting.
A whole model can also be inside out: every face points inward. Some slicers fix this silently; others produce an empty or strange slice.
Where do inverted normals come from?
- Mirroring a part in a modelling program without flipping its faces.
- Merging pieces made in different programs with different winding conventions.
- Manual editing, such as deleting and rebuilding faces by hand.
- Exporters that write the stored normal and the corner order inconsistently.
How STLPad handles orientation
STLPad ignores the stored normal vectors and works from the triangle corners, the same way most slicers do. STL Repair walks across neighbouring faces of each connected shell and makes their winding consistent. It then turns every closed shell outward by checking the sign of its volume. The repair report lists how many faces were reoriented and whether any conflicts remained.
Conflicts happen when consistent orientation is impossible, for example on a non-manifold edge shared by three faces, or on a one-sided surface. Those areas need a fix in the source model; see non-manifold STL geometry.
Checking the result
- Open the repaired STL in the Checker and confirm the open-edge and non-manifold counts.
- For a closed mesh, the Volume should be positive and plausible. A model that was inside out often reports a negative or near-zero volume in other tools.
- Look at the slicer's layer preview where the problem appeared before.