Inspect & measure/Face counts
STL triangle and vertex counter
Count triangles, welded vertices, and degenerate faces in an STL without sending the file anywhere. This is a fast way to see whether a mesh is too dense for a printer, a slicer, or a browser viewer.
Drop an STL here
Binary STL streams in 4 MiB slices; ASCII STL streams line by line.
Choose a fileMax file size: 500 MB · No upload
No upload · File.slice() → dedicated Worker → transferable geometry.
How it works
- 1
Drop a binary STL into the drop zone.
- 2
The parser validates the declared triangle count against the file length.
- 3
It streams blocks, welds vertices, and skips zero-area triangles.
- 4
Read the counts and bounds, or open the same file in the STL viewer.
What the numbers mean
Count includes every non-degenerate triangle emitted by the parser. Compare it with the declared count to spot truncated files.
A closed surface usually has about half as many welded vertices as triangles. A ratio close to 3:1 means vertices were not shared by the source.
Zero-area triangles are skipped. A high count often follows a bad boolean operation or a decimation export.
Check the three spans against the printer bed before slicing.
Printing notes
- Above roughly 5 million triangles, slicers and browsers become uncomfortable; decimate before sharing.
- A suspiciously low vertex count can indicate duplicate faces rather than a clean mesh.
- Keep a copy of the original file; some repairs are easier to redo than to undo.
Questions
References
- · Binary STL facet layout (50 bytes)
- · ISO/ASTM 52900