local engine

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.

Updated 28 November 2026 · cadtomesh · independent guide

At a glance

STEPSTL3MF
What it storesExact B-rep surfaces, product structure, unitsTriangles and facet normalsIndexed mesh in an OPC/ZIP package
Geometry qualityExact within the source kernelApproximation fixed at exportApproximation fixed at export
UnitsDeclared in the fileNoneUnit attribute, often millimetres
Colour / materialsAP214/AP242 can carry face colourNoneSchema can carry colour and materials; the writer must actually emit them
Assembly structureNamed products and placementsNone; one triangle soupCan carry multiple objects; the writer must actually emit them
Slicer settingsNoNoA plain mesh 3MF has none; a slicer project can carry them
EditabilityParametric CAD modelMesh onlyMesh or project, depending on the payload
Typical roleCAD exchange and master modelUniversal print inputPrint 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

ConversionKeepsLoses
STEP → STLTriangle geometry at the chosen deflectionUnits, colour, names, assembly tree, exact surfaces, feature history, guaranteed watertightness
STL → 3MFThe same triangles, now indexed in a packageNothing from the STL, because the STL had no colour or parts to lose; a millimetre unit is added
3MF → STLTriangle geometryColour, materials, multiple objects, project settings, unit declaration
STEP → 3MFTessellated geometry with a millimetre declarationColour, 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?

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

PresetTrianglesBinary STL3MF.gltf.glb
Draft7,728386 KB64.5 KB393 KB298 KB
Balanced16,512826 KB141 KB814 KB615 KB
Fine26,0881.30 MB245 KB1.27 MB959 KB
Maximum51,9202.60 MB480 KB2.51 MB1.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 workspace

Frequently 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

Last updated: . This guide documents format behaviour and the cadtomesh workspace; it is not a promise that every file will convert cleanly.