3MF vs STL: what the same model keeps
3MF is useful when the receiving application supports it and you want units recorded in the file. STL carries a triangle surface without a unit. Before choosing between them, check what the next application reads and which properties your handoff needs.
One model in both files
Our sample is a right tetrahedron with four triangles and dimensions of 10 × 10 × 10 mm. Both exports contain those same triangles. The binary STL is 284 bytes; this writer's 3MF is 1594 bytes. The 3MF package has XML and container overhead that outweighs any benefit on such a small mesh. These numbers describe this sample and writer, not a rule about which format is smaller.
| Property | STL sample | 3MF sample |
|---|---|---|
| Triangles | 4 | 4 |
| Dimensions under the intended interpretation | 10 × 10 × 10 mm | 10 × 10 × 10 mm |
| Unit stored in the file | None | Millimetres |
| File size | 284 bytes | 1594 bytes |
A unit needs a source
Wrapping an existing STL in 3MF cannot recover whether its numbers meant inches or millimetres. The preparation workflow requires an interpretation before writing 3MF. If a one-unit part means one inch, the millimetre export should measure 25.4 units across. Assigning the wrong interpretation simply gives the wrong dimensions an explicit label.
The 3MF core specification defines the package and model properties. The format's ability to describe a property does not mean every converter preserves it. This preparation exporter records millimetres and supported mesh data; it does not create a slicer project, texture maps, printer settings, or CAD feature history. Scene transforms are baked into mesh positions.
Check the receiving application
Open the output and check a known dimension before using it. For STL, select the import unit stated in the report. For 3MF, check that the application used the recorded unit. Keep the source model when you need editable design information. The downloadable sample and its report let you compare the actual files before using the same route for your own part.
Prepare units before 3MF export
Try these files
These samples were created by this project and released under CC0. They contain no visitor files. Sizes and SHA-256 hashes identify the exact bytes measured in this experiment.
- Ten-millimetre tetrahedron; STL itself stores no unit. (STL, 284 bytes)
SHA-256
7d98ff53aa7c0ac15350e51fc0adf77ebd39df597cac09f07269e1ff3fff9aa4 - Ten-millimetre tetrahedron in 3MF. (3MF, 1,594 bytes)
SHA-256
432c2b72aa07fadacfa24f77b1750fda16822303fd96dd268d64d617a06f6d88 - Ten-millimetre tetrahedron in OBJ; no MTL file is emitted. (OBJ, 105 bytes)
SHA-256
1c10d5664480df567f096cb27889c3ef9489c9c75a96ca807b3d6d67bd6b71c4
See the measurement method, exact files, and reproduction details