File formats

What Is a 3MF File? 3D Printing Format Explained

A 3MF file is a zipped 3D printing package with real units, colours, several objects and slicer settings. What is inside, 3MF vs STL, and how to make one.

Three printable parts, a mounting bracket, a cable clip and a control knob, packed into one 3MF file and rendered by our converterOur STL to 3MF converter

Open a project in Bambu Studio, PrusaSlicer or OrcaSlicer and save it, and you get a 3MF file. Download a multi-colour model from a print community, and it is often in the same format. 3MF is quietly replacing STL as the way 3D printing files travel. This guide explains what a 3MF file holds, why it exists, and when STL is still the right choice.

Why 3MF exists

STL dates from the late 1980s and stores only one thing: a list of triangles. It has no unit, so the same file can print at the right size or 25.4 times too small depending on what the software assumes. It has no standard colour or material. It repeats every shared corner once per triangle, which makes files large. And it cannot say how several parts sit on a plate.

The 3MF Consortium, an industry group founded in 2015 by Microsoft together with companies such as Autodesk and HP, published 3MF as a modern replacement. The specification is freely available, and every major slicer reads it today.

What is inside the package

The file is a ZIP archive that follows the Open Packaging Conventions, the same packaging used by Office files. Rename a copy to .zip and you will typically find:

[Content_Types].xml
_rels/.rels
3D/3dmodel.model
Metadata/thumbnail.png

The heart of it is 3D/3dmodel.model, an XML file. A minimal model looks like this:

<model unit="millimeter" xmlns="http://schemas.microsoft.com/3dmanufacturing/core/2015/02">
  <resources>
    <object id="1" type="model">
      <mesh>
        <vertices>
          <vertex x="0" y="0" z="0" />
          <vertex x="20" y="0" z="0" />
          <vertex x="0" y="20" z="0" />
          <vertex x="0" y="0" z="20" />
        </vertices>
        <triangles>
          <triangle v1="0" v2="2" v3="1" />
          <triangle v1="0" v2="1" v3="3" />
          <triangle v1="0" v2="3" v3="2" />
          <triangle v1="1" v2="2" v3="3" />
        </triangles>
      </mesh>
    </object>
  </resources>
  <build>
    <item objectid="1" />
  </build>
</model>

Three ideas carry the format:

  • A declared unit. The unit attribute can be micron, millimeter, centimeter, inch, foot or meter. Millimetre is the default.
  • An indexed mesh. Each vertex is listed once, and triangles point to vertices by number. A shared corner is stored once instead of once for every triangle that touches it.
  • A build section. It says which objects to print and, with an optional transform, where each one sits.

Official extensions add more: the Materials and Properties extension for colours, multiple materials and textures; the Production extension for splitting large projects across files; the Beam Lattice extension for lattice structures; and the Slice extension for pre-sliced data. Slicers also store their own project settings in the Metadata folder, which is why a project saved in one slicer can reopen with its plates, supports and settings intact.

3MF vs STL

3MFSTL
UnitDeclared in the fileNone, the reader assumes
MeshIndexed: vertices stored onceEach triangle stores its own three corners
Size on diskCompressed ZIPUncompressed, binary or text
Colour and materialStandard extensionNo standard
Several objects and placementYesOne mesh, no placement
Print settings, thumbnailsYes (metadata)No
SupportAll major slicersPractically universal, including old machines and services

Use 3MF for your own printing and for sharing projects. Keep STL when an online print service, an older machine or a specific tool asks for it, and always tell the receiver the unit. For exact engineering geometry neither is right; send STEP instead.

A printed bracket shown with its bounding box and size readout in millimetres in our STL to 3MF converterOur STL to 3MF converter
Choosing the unit before packing: our STL to 3MF converter shows the part's size in the unit you pick, and that unit is written into the 3MF so slicers open it at true scale.

How to make a 3MF file

  • From a slicer. Save the project. Bambu Studio, PrusaSlicer, OrcaSlicer and UltiMaker Cura all write 3MF.
  • From CAD. Many CAD programs export 3MF directly. If yours only exports STL, convert afterwards.
  • From STL files. Our STL to 3MF converter takes up to 20 binary or ASCII STL files, checks each one for holes, lets you choose millimetres, inches, centimetres or microns, welds shared corners into single vertices and packs everything into one 3MF. It runs in your browser; nothing is uploaded.
  • From other formats. OBJ to STL and STEP to STL get other models into mesh form first.

Checking the file before printing

  1. Size. Open it in your slicer and read the dimensions. If they are 25.4 times off, the unit was wrong when the file was made.
  2. Watertight mesh. Holes and flipped triangles cause gaps or failed slices. Our converter and the STL viewer flag open edges.
  3. Objects and plates. Make sure every part you expect is there and not overlapping.
  4. Settings. A project 3MF from someone else carries their printer and filament settings. Check them against your own machine before printing.

3MF and multi-colour printing

Colour is where 3MF pulls furthest ahead of STL. The Materials and Properties extension lets a file define base materials and colour groups, and assign them to whole objects or to individual triangles. That is how a single file can describe a two-colour logo plate or a model painted in four filaments.

There is a catch when you move between programs. Slicers also save features of their own, such as painted colour regions, painted supports and seams, modifiers and per-object settings, in their own attributes and metadata files. Another slicer may open the geometry perfectly and silently drop those extras. If a multi-colour project looks plain after you open it elsewhere, that is usually why. Export from the slicer that made it, or repaint in the new one.

For sharing, it helps to say which slicer and version saved the file, and whether the colours are part of the model or only painted in the slicer.

Is 3MF the future of 3D printing files?

For desktop printing it largely is already: the main slicers save projects as 3MF, and multi-colour printing depends on what 3MF can describe. STL will stay around for years because it is simple and accepted everywhere. The practical approach is to keep a STEP file of anything you designed, export a 3MF file for printing, and produce an STL only when someone asks for one.

Frequently asked questions

What is a 3MF file used for?

3D printing. It carries the model with its real unit, and can also carry colours, materials, several objects with their positions on the build plate, and the slicer settings of a print project.

Is 3MF better than STL?

For printing, usually yes: it knows its unit, stores each vertex once, is compressed, and can hold colour and several parts. STL is still the most universally accepted, so keep it for services or old machines that do not take 3MF.

Can I open a 3MF file without a slicer?

Yes. It is a ZIP package, so you can rename a copy to .zip and look inside; the model itself is the XML file 3D/3dmodel.model. Many CAD and mesh programs import 3MF as well.

Can I convert 3MF back to STL?

Yes, most slicers and mesh tools export STL from a 3MF. You lose what STL cannot hold: the unit, colours, materials and print settings.

Can a 3MF file be edited in CAD like a STEP file?

Not in the same way. 3MF holds triangle meshes, not exact surfaces or features. For editable engineering geometry use STEP; see what a STEP file is.

Keep reading

Back to blog