3MF Writer
| 3D Manufacturing Format | ||
| File Extension | 3MF | |
| Supported Versions | 1.2.3 | |
| Platforms | ||
| Tessellation | Supported | |
| B-rep | N/A | |
| PMI | N/A | |
3MF (3D Manufacturing Format) is an open-source file format designed specifically for additive manufacturing.
Developed by the 3MF Consortium, which includes major industry players, the format aims to provide a comprehensive and interoperable model.
3MF supports detailed specifications of object geometries, colors, materials, and other properties essential for 3D printing, ensuring that designs and their intentions are transmitted accurately and effectively between different software applications and printers.
Our support for 3MF covers reading and writing of the file format for Windows, GNU/Linux and macOS. As a tessellation-only format, we only export tessellation data.
How to Export to 3MF
To export a model file to 3MF format, call A3DAsmModelFileExportTo3mfFile().
The format-specific A3DRWParamsExport3mfData is used to describe how to export it.
A3DRWParamsExportStlData sParamsExportData;
A3D_INITIALIZE_DATA(A3DRWParamsExportStlData, sParamsExportData);
// ... set export parameter options
A3DAsmModelFileExportTo3mfFile(pModelFile, &sParamsExportData, "path/to/file.3mf");
See the “Direct Integration” section of Simple Load and Export for general information about writing model files.
To understand and manipulate the model tree before export, see assembly traversal or the :doc:`Tree Traversal API <guide/tree_traversal>’.
Before exporting, ensure that the model contains the geometry and tessellation you expect. See our pages on tessellation for tips on generating visualization data for export.