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.

  1. 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.

  2. 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.

  3. 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

From · 3MF

3D Manufacturing Format

The 3D printing format that carries color, materials and units, replacing STL.

Extensions
.3mf
MIME type
model/3mf
Kind
3D models
To · GLTF

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.

terminal
$ cv convert model.3mf model.gltf
$ cv convert model.3mf model.gltf

Questions.What people ask about 3MF to GLTF.

01OF 04

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.

More conversions.Other ways in and out of 3MF and GLTF.