Guides ·

How to check if an STL is watertight before printing

A slicer needs a closed model to know what is inside and what to fill. This post explains what watertight means, why one missing triangle matters, and how to check, find and fix a hole, using NASA's ratchet wrench and a copy we broke on purpose.

Drop your STL on the free STL viewer: it tells you in seconds whether the mesh is closed and gives its volume.Try it on your own file
Two views of NASA's ratchet wrench in the unmake STL viewer: the original, 34.81 cm³, Closed (watertight) shape; and a copy with one triangle deleted, its three open edges drawn in orange with a ring, no volume, The mesh has a hole (3 open edges, circled in orange), and a Zoom to hole button
Top: NASA's wrench, closed, 34.81 cm³. Bottom: our copy with one triangle deleted; the viewer circles the hole in orange. Model: Wrench, NASA 3D Resources; broken copy made by unmake.

What watertight means

An STL file describes a shape as a mesh: its outside skin, made of small flat triangles. The mesh is watertight, or closed, when that skin has no gaps. In mesh terms, every edge is shared by exactly two triangles, one on each side.

Then the shape has a clear inside and outside, and its volume can be measured. If one triangle is missing, the three edges around the gap belong to only one triangle each. That is a hole, and the volume no longer exists.

A file can hold several separate pieces and still be watertight, as long as each piece is closed. NASA's wrench below is three closed pieces in one STL: the handle, the round head with its square drive, and a small part between them. The viewer's Parts line still says 1, because it counts objects in the file, not loose pieces.

Closed mesh: every edge is shared by two triangles, so the shape has a volume. Open mesh: a missing triangle leaves edges with only one triangle, a hole, and no volume
A small patch of each skin. Closed: every edge has a triangle on both sides. Open: the three edges around the gap have one.

Why a slicer cares

A slicer cuts the model into thin layers and draws the outline of each layer. To fill a layer it needs every outline to close into a loop. Where the skin has a hole, the outline stays open and the slicer has to guess where the inside is.

Many slicers try to repair small holes on import, and often they guess right. When they don't, you get missing walls, infill in the wrong place or a layer that vanishes.

What breaks a mesh

Holes are the most common fault: a missing triangle, or two surfaces meant to meet that leave a thin gap. They come from display models, 3D scans and careless edits.

Flipped triangles face inward instead of outward, so the skin is closed but inconsistent. Edges shared by three or more triangles, like pages in a book, also confuse slicers. Programs call these faults non-manifold.

Check it in the browser

Drop the STL on the unmake STL viewer. When the mesh is watertight, the panel gives the volume and says "Closed (watertight) shape, so the volume is exact."

When there is a hole, the volume shows a dash and the panel says how big the problem is: "The mesh has a hole (3 open edges, circled in orange), so it has no volume." The open edges are drawn in orange on the model, with a ring around the hole, and Zoom to hole turns the view to it.

Flipped triangles get their own message: "Some faces point inward: recalculate normals. The surface has no holes, but flipped faces leave the volume undefined." It also names the fix in Blender.

The wrench with one flipped triangle in the STL viewer: no volume and the message Some faces point inward: recalculate normals, with the Blender fix Mesh › Normals › Recalculate Outside
A flipped triangle gets its own message: no hole, but faces pointing inward. Model: Wrench, NASA 3D Resources; copy with one flipped triangle by unmake.

Why your eyes are not enough

The triangle we deleted was 88.64 mm², under 1% of the wrench's 12,473.15 mm² of skin. Seen from the default angle it is a faint sliver on top of the handle. Seen from straight above it disappears: you look through it at the inside of the far wall, which looks just like the outside.

That is why the orange matters: the open edges are drawn over the model, seen through it, so the ring shows the hole from any angle. A check that counts edges doesn't need to know where to look.

Find the hole and fix it

In Blender, import the STL, press Tab for Edit Mode and switch to edge selection. Then choose Select, Select All by Trait, Non Manifold. It selects the edges around holes, plus flipped faces and edges shared by three or more faces.

On our broken wrench it selected 3 edges, the same three the viewer drew in orange. With those selected, press F (New Edge/Face from Vertices) to close the gap with a new face, then export the STL again. For flipped triangles, select everything and use Mesh, Normals, Recalculate Outside, the fix the viewer's message names.

Then check again in the viewer. If the model came from CAD, fix it there and export a new STL, or the next export brings the hole back.

A worked example: NASA's ratchet wrench, closed and broken

  1. Download Wrench.stl from NASA 3D Resources, filed among its International Space Station tools. In December 2014 the station's 3D printer made a ratchet wrench from a file sent up from the ground.
  2. Drop it on the STL viewer: 33.1 × 114.2 × 26 mm, a volume of 34.81 cm³ and "Closed (watertight) shape, so the volume is exact." Details shows 14,564 triangles; the weight line gives about 18.5 g of PLA at 20% infill.
  3. Drop our copy, nasa-wrench-hole.stl, with one triangle deleted: 14,563 triangles, Volume "–" and "The mesh has a hole (3 open edges, circled in orange)". Press Zoom to hole: the view turns so the orange ring sits in the middle, on top of the handle. The surface area drops from 12,473.15 to 12,384.51 mm².
  4. Drop nasa-wrench-flipped.stl, the same wrench with one triangle turned inside out: all 14,564 triangles, no hole, and "Some faces point inward: recalculate normals." The weight line waits for the fix too.
  5. In Blender, Select All by Trait, Non Manifold selects 3 edges on the holed copy; F fills them. Exported again and dropped on the viewer, the wrench is closed at 34.81 cm³.

Common mistakes

Questions

What does non-manifold mean?

Geometry that can't be the skin of a real solid: edges at holes, edges shared by three or more faces, faces whose neighbours point the opposite way, and loose edges with no face.

Is watertight the same as manifold?

Nearly. Watertight means no holes; manifold adds that every edge joins exactly two faces facing the same way. A slicer is happiest with both.

Why does a hole stop the weight estimate?

Weight is volume times density, and an open skin encloses no volume. That is why the viewer shows a dash instead of grams until the mesh is closed.

Sample file: nasa-wrench-hole.stl (NASA's Wrench.stl with one triangle deleted by us; nasa-wrench-flipped.stl, with one triangle flipped, is published next to it) · Original: NASA 3D Resources, free and without copyright; broken copy: ours

Sources

Drop your STL on the free STL viewer: it tells you in seconds whether the mesh is closed and gives its volume.Try it on your own file