Guide
STEP vs STL vs 3MF
These three formats are not interchangeable quality tiers. STEP is an exact CAD exchange model, STL is the lowest-common-denominator triangle list, and 3MF is a container that can carry a richer print package. The right choice depends on what you need to keep, not on which extension sounds most modern.
At a glance
| STEP | STL | 3MF | |
|---|---|---|---|
| What it stores | Exact B-rep surfaces, product structure, units | Triangles and facet normals | Indexed mesh in an OPC/ZIP package |
| Geometry quality | Exact within the source kernel | Approximation fixed at export | Approximation fixed at export |
| Units | Declared in the file | None | Unit attribute, often millimetres |
| Colour / materials | AP214/AP242 can carry face colour | None | Schema can carry colour and materials; the writer must actually emit them |
| Assembly structure | Named products and placements | None; one triangle soup | Can carry multiple objects; the writer must actually emit them |
| Slicer settings | No | No | A plain mesh 3MF has none; a slicer project can carry them |
| Editability | Parametric CAD model | Mesh only | Mesh or project, depending on the payload |
| Typical role | CAD exchange and master model | Universal print input | Print package and project container |
STEP: the editable master
STEP is an ISO 10303 exchange format for exact product geometry. It describes trimmed NURBS surfaces, shells, edges, named products and placement transforms; AP214 and AP242 can attach colours and PMI. It is the format you keep when the model may need another revision, because the design intent and exact surfaces are still there.
STEP is not a slicer input in most workflows. A slicer needs triangles, so STEP must be tessellated first. That tessellation is lossy: a cylinder becomes a finite-sided polygon, a fillet becomes a strip of facets, and the exact surface is replaced by chords. The STEP remains the master; the mesh is a derivative.
STL: the universal mesh
STL is the lowest-common-denominator print format. It is a flat list of triangles, each with a normal and three vertices, and it has no unit, colour, name, group or assembly field. That poverty is why it opens almost everywhere and why it loses almost everything.
A binary STL costs 50 bytes per triangle, so a detailed assembly can become very large. It also repeats every corner for every triangle, which is why 3MF's indexed vertices can produce a smaller file for the same mesh. STL is the right delivery format when the receiver only needs geometry and compatibility is the priority.
3MF: a container, not a guarantee
3MF is an OPC/ZIP package with an XML model part. It can declare a unit, index shared vertices, carry multiple objects, colours, materials, textures, metadata and even slicer project data. That is a capability statement, not a promise about a particular file.
Check the writer, not the extension. A plain 3MF from an STL may contain one uncoloured object and no slicer settings. A Bambu Studio project may contain the same geometry plus process, filament and plate data. Both are 3MF packages, but they are not interchangeable handoffs.
The cadtomesh 3MF writers produce a plain mesh: one object, one build item, millimetres declared, no colour and no assembly hierarchy. That is useful for a units-declared geometry package; it is not a substitute for a slicer project. If colour or multiple parts matter, author them in a tool that actually writes those 3MF features.
What each conversion loses
| Conversion | Keeps | Loses |
|---|---|---|
| STEP → STL | Triangle geometry at the chosen deflection | Units, colour, names, assembly tree, exact surfaces, feature history, guaranteed watertightness |
| STL → 3MF | The same triangles, now indexed in a package | Nothing from the STL, because the STL had no colour or parts to lose; a millimetre unit is added |
| 3MF → STL | Triangle geometry | Colour, materials, multiple objects, project settings, unit declaration |
| STEP → 3MF | Tessellated geometry with a millimetre declaration | Colour, names, assembly tree, exact surfaces; the cadtomesh writer emits one object |
There is no lossless round trip from STL back to STEP. Reconstructing analytic surfaces from a triangle mesh is a reverse-engineering problem, not a format conversion. Keep the STEP if you may need to edit the model later.
Which should you export?
- Keep STEP when the model will be revised, measured, assembled or sent to manufacturing. It is the editable master and the only format here that carries the exact surfaces.
- Export STL when a slicer, viewer or service accepts only a mesh and compatibility matters more than metadata. Choose the coarsest deflection that holds the smallest printed feature.
- Use 3MF when the receiver can read it and you want a unit-declared, indexed package, multiple objects or colour. Verify that the specific writer emits those features; a plain mesh 3MF does not.
- Use a slicer project when the goal is a repeatable print with saved process, filament and plate settings. That is a project file, not a generic mesh handoff.
- Use IFC when the source is a building model and the receiver needs BIM semantics. Convert a filtered IFC to STL only for printing, and expect to repair and rescale it.
File size intuition
STL size is roughly 50 bytes per triangle, so it grows linearly with tessellation. 3MF indexes vertices and compresses the package, which often makes the same mesh smaller, but the ZIP scaffolding can dominate a tiny model. STEP is a text format for surfaces and can be much smaller than the mesh it generates. The practical rule: STEP is the compact master, STL is the predictable but bulky print copy, and 3MF is a package whose size depends on both the mesh and what else the writer puts inside it.
For the full arithmetic and the levers that actually reduce a giant STL, read why your STEP to STL file is so big.
Measured check: same mesh, four containers
| Preset | Triangles | Binary STL | 3MF | .gltf | .glb |
|---|---|---|---|---|---|
| Draft | 7,728 | 386 KB | 64.5 KB | 393 KB | 298 KB |
| Balanced | 16,512 | 826 KB | 141 KB | 814 KB | 615 KB |
| Fine | 26,088 | 1.30 MB | 245 KB | 1.27 MB | 959 KB |
| Maximum | 51,920 | 2.60 MB | 480 KB | 2.51 MB | 1.89 MB |
All four outputs came from the same 139 KB, 18-part STEP sample. STL repeats each corner; 3MF indexes and deflates; glTF writes JSON and base64; GLB writes binary chunks. The ratio changes with the preset, so “3MF is smaller” is a sample result, not a universal rule.
What the numbers do not prove: a 3MF is not automatically smaller for a tiny mesh; colour and hierarchy exist only if the writer emits them; STL never carries a unit; GLB is not a CAD master.
Convert between the three formats
Open the workspace with the pair you need, or start from the format reference pages to see what each path writes.
Open the conversion workspaceFrequently asked questions
Is 3MF always better than STL?
No. 3MF can carry more, but a particular 3MF may contain only a plain mesh. If the receiver needs a universal mesh and the file has no colour or assembly data, STL is simpler and equally printable.
Does 3MF keep colour?
The format can, but the writer has to emit colour groups or materials. Converting an STL to 3MF cannot invent colour, and the cadtomesh 3MF writer emits an uncoloured mesh. Use a source file or a slicer project that actually carries the colour.
Can I convert STL back to STEP?
Not losslessly. STL is a triangle mesh with no analytic surfaces or feature tree; rebuilding a STEP solid is reverse engineering, not a format conversion. Keep the original STEP as the master.
Which format should I use for Bambu Studio?
Bambu Studio reads STL and 3MF. Use STL for a simple mesh, a plain 3MF for a units-declared package, and a Bambu project if you need saved process, filament and plate settings.
Which format should I use if I need to edit the model?
STEP. It preserves exact surfaces and the product structure; STL and plain 3MF are mesh snapshots that are much harder to edit.
Related guides
References
- ISO 10303-21 — STEP exchange file structure
- 3MF Consortium specification
- cadtomesh STEP to STL reference
- cadtomesh STL to 3MF reference
Last updated: . This guide documents format behaviour and the cadtomesh workspace; it is not a promise that every file will convert cleanly.