What is a 3MF file?
A 3MF (3D Manufacturing Format) file describes one or more 3D objects as triangle meshes, together with the information a printer or slicer needs to build them: units, colors, materials and the placement of each object on the build platform. The format is maintained by the 3MF Consortium, an industry group created to give additive manufacturing a full-fidelity alternative to older mesh formats.
Technically, a 3MF file is a ZIP package containing XML documents and related resources. Because the content is plain XML with a published specification, any application can read or write it, and the compressed package is usually much smaller than an equivalent STL file.
How is a 3MF file structured?
A 3MF file is built from a mandatory core specification and a set of optional extensions. The core describes the outer surface of each object as a mesh, while the extensions let the producing application add the data a given manufacturing process needs.
| Part of the specification |
What it adds |
| Core specification |
Mesh geometry (vertices and triangles), units, objects, components and build items |
| Materials and properties |
Colors, base materials and multi-material assignments |
| Slice |
Pre-sliced layer data for printers that build layer by layer |
| Beam lattice |
Lightweight lattice structures described as beams rather than triangles |
| Volumetric design |
Data that describes how properties vary inside the volume of a part |
| Security |
Encryption and signatures to protect model content |
3MF vs. STL
STL has been the default exchange format for 3D printing for decades, but it only stores a list of triangles. 3MF was designed to carry the information that STL leaves out.
| Feature |
STL |
3MF |
| Geometry |
Triangle mesh |
Triangle mesh with shared vertices |
| Units |
Not stored |
Stored in the file |
| Color and materials |
Not part of the standard |
Supported through extensions |
| Product structure |
No assembly structure |
Objects, components and build items |
| Encoding |
ASCII or binary |
XML in a compressed ZIP package |
| Standardization |
De facto standard |
Open specification, published as an ISO/IEC standard |
What Is 3MF Used For? Applications and Industry Use Cases
3MF is used wherever a mesh model has to reach a 3D printer or slicer with its colors, materials and build information intact: prototyping, production parts made by additive manufacturing, consumer products and service bureaus that receive models from many different CAD systems. Because CAD tools, slicers and printer vendors widely read and write the format, it has become a practical hand-off between design and the shop floor.
For software developers, 3MF support means an application can accept print-ready models from customers and partners, and send its own models to additive manufacturing workflows without losing the structure of an assembly. Since the data is mesh-based, it is a natural fit for visualization, mesh processing and polyhedral modeling, but not for applications that need exact B-rep geometry.
Challenges or Common Pitfalls
The most common misunderstanding is to treat 3MF as a CAD exchange format. A 3MF file carries tessellated geometry only: exact curves and surfaces and design history are not part of it. When precise geometry is needed for downstream engineering, a B-rep format such as STEP or Parasolid is a better choice.
Because extensions are optional, two applications that both support 3MF can still disagree on what they keep. One may read colors and materials while another only reads the core mesh. Developers should check which parts of the specification an application handles before relying on materials, slices or lattice data.
Color can also affect performance. When individual triangles carry different colors, a reader may need to split the mesh into many small faces, which increases memory use and display time on large models.
How Spatial Helps
3D InterOp has supported 3MF since Release 2018 1.0. Through its UConnect interface, our 3D InterOp SDK both imports and exports 3MF files, so your application can accept additive manufacturing data and write its own models to the format through the same API it uses for other CAD formats.
On import, 3D InterOp reads the tessellated geometry of each part, the full assembly tree or product hierarchy, facet-level color and document information such as units, version and modification date. The facet data can be used to render the model or for polyhedral modeling operations in your target modeler, whether that is CGM, 3D ACIS Modeler or Parasolid. On export, 3D InterOp writes 3MF assemblies with a multi-level product structure.
We also document the current limits clearly: textures, material properties, and assembly-level color, transparency and visibility are not imported, and imported 3MF data remains tessellated rather than exact B-rep geometry. Check the 3D InterOp documentation for the 3MF versions supported in your release.