STL
STereoLithography · model/stl · .stl
Overview
STL describes a 3D surface as an unordered set of triangles without color, texture, or units. Its simplicity makes it the universal handoff format for 3D printing, but richer scenes need formats like glTF or STEP.
Check a binary STL triangle count before importing it
In a standard binary STL, the first 80 bytes are a header. The next four bytes hold the triangle count, least significant byte first. Each triangle record occupies 50 bytes. A count of two, encoded as 02 00 00 00, gives an expected file length of 84 + 2 × 50 = 184 bytes.
If a copy of that sample ends after 134 bytes, it contains enough space for just one complete triangle record. Compare it with the original export or obtain a fresh copy before opening it in a slicer. Editing the count to one would conceal the missing triangle.
This length check applies to the binary layout. ASCII STL uses text facet descriptions. Even when all 184 bytes are present, the length cannot establish that two triangles form a closed solid or tell you the intended measurement unit. Library of Congress binary STL description
Typical use cases
- 3D printing
- Simple mesh exchange
- Scanner output
- Rapid prototyping
Advantages
- Designed for 3d printing
- None storage
- Open specification
- Browser support: No native browser viewer
Disadvantages
- No color or texture
- No units
- Triangles only
How to open or use it
Open STL files with an application that supports model/stl. Editable in CAD and mesh tools with rebuilds. For delivery, use a viewer or converter that reads stl.