Convert 3MF to GLTF
Turn 3MF models into GLTF. Each object as a mesh with its color, turned from Z-up to Y-up, in one .gltf file with the binary data embedded as base64.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop 3MF files on the dialor turn it to pick what to do
Your 3MF model as one glTF file.Each object becomes a mesh with its color, in a single .gltf file.
What you get
One GLTF file. Each object in the 3MF becomes a mesh, and each mesh keeps its color.
The binary data is embedded in the file as base64, so the .gltf file is self-contained and has no separate buffer files next to it.
What changes
The model is turned from Z-up to Y-up. The 3MF format uses Z as the up axis, and the conversion rotates the model so Y is up instead.
The result is glTF 2.0 as JSON. To go the other way, use GLTF to 3MF.
When a file fails
If the 3MF cannot be parsed, the conversion stops with
input_corrupted. This code means the file could not be parsed.
3MF and GLTF.What each format is.
The formats
3D Manufacturing Format
The 3D printing format that carries color, materials and units, replacing STL.
- Extensions
- .3mf
- MIME type
- model
/3mf - Kind
- 3D models
glTF
glTF 2.0 as JSON. Buffers and textures usually sit in separate files, so only self-contained files convert.
- Extensions
- .gltf
- MIME type
- model
/gltf +json - Kind
- 3D models
In your code.The same 3MF to GLTF conversion through the API, for your app or your agent.
$ cv convert model.3mf model.gltf$ cv convert model.3mf model.gltfQuestions.What people ask about 3MF to GLTF.
Yes. Each object becomes a mesh with its color.
No. The conversion gives one file, and the binary data is embedded in it as base64.
3MF is Z-up and the output is Y-up, so the conversion turns the model from one to the other.
The 3MF file could not be parsed. The conversion stops with that code.