Convert gltf to dxf

Free online GLTF to DXF converter

Convert GLTF or GLB polygon meshes into DXF geometry for CAD and drafting software.

Convert GLTF to DXF online - free

Uploading…
Selected files exceed the 75 MB total limit. Please select fewer or smaller files.

Your file is processed instantly and never stored on our servers.

How it works

  1. 1/3

    Upload your .gltf file

    Click to browse to select your file you want to convert or simply drag & drop your file into selected area.

  2. 2/3

    Perform .gltf to .dxf conversion

    After successful file upload, click to convert when you are ready.

  3. 3/3

    Download converted .dxf file

    Conversion result is ready to download.

How to convert gltf to dxf file

101convert.com Assistant Avatar

101convert.com assistant bot
1h

GLTF files are commonly delivered by 3D web, game, and visualization tools, while many CAD and CNC applications require DXF. Converting the model makes its geometry available in CAD software, although GLTF mesh surfaces usually become faceted DXF entities rather than editable parametric solids.

What the GLTF format is

GLTF and its binary form, GLB, are interchange formats for 3D scenes used in web viewers, game engines, augmented reality, product configurators, and digital-twin systems. Blender, 3ds Max, Maya, SketchUp, CAD exporters, and browser-based 3D applications can create GLTF or GLB files.

A GLTF package can contain polygon meshes, materials, textures, cameras, lights, node hierarchies, and animation. A separate .gltf file may reference .bin geometry data and image textures; a .glb file normally stores these resources together.

What the DXF format is

DXF is Autodesk's drawing-exchange format for CAD data. AutoCAD, DraftSight, BricsCAD, LibreCAD, QCAD, and many CAM systems can read it.

DXF is useful for drafting, dimensioning, CNC preparation, laser cutting, surveying, and exchanging geometry between CAD programs. It supports 2D entities such as lines, arcs, polylines, and circles, plus 3D entities including 3DFACE, mesh, and polyface mesh objects. DXF does not automatically turn a polygonal GLTF model into a parametric CAD solid.

How to actually convert GLTF to DXF

For a direct conversion without installing software, use the converter on 101convert.com:

  1. Upload the .gltf file and all referenced .bin and texture files, or use a single .glb file.
  2. Select DXF as the output format and start the conversion.
  3. Download the DXF and open it in AutoCAD, BricsCAD, QCAD, LibreCAD, or another compatible CAD program.
  4. Check the model scale and orientation before editing or manufacturing.

For a reproducible desktop conversion, Python can load the GLTF scene with Trimesh and write each triangle as a DXF 3DFACE using ezdxf:

python -m pip install trimesh ezdxf pygltflib

Save the following as gltf_to_dxf.py:

import sys
import trimesh
import ezdxf

scene = trimesh.load(sys.argv[1], force="scene")
mesh = scene.dump(concatenate=True)
scale = float(sys.argv[3]) if len(sys.argv) > 3 else 1.0

doc = ezdxf.new("R2018")
modelspace = doc.modelspace()
for face in mesh.faces:
    points = [(float(mesh.vertices[i][0] * scale),
               float(mesh.vertices[i][1] * scale),
               float(mesh.vertices[i][2] * scale)) for i in face]
    modelspace.add_3dface(points)
doc.saveas(sys.argv[2])

Run it with:

python gltf_to_dxf.py model.gltf model.dxf 1000

The final argument is an optional scale factor; use 1000 to convert metres to millimetres, or omit it when the source and target use the same numeric units. The script also accepts a .glb input.

Quality and compatibility limits

GLTF normally stores polygonal surfaces, so the resulting DXF contains triangles or other faceted entities. Curved GLTF surfaces are not preserved as CAD arcs, cylinders, or NURBS unless they are rebuilt in a surface or solid modeller.

GLTF does not require a universal unit system. Confirm the source application's units and use the conversion scale explicitly. Scene transforms are applied when Trimesh concatenates the meshes, but animation, cameras, lights, materials, textures, and skinning are not represented by DXF.

Large meshes can create very large DXF files and slow CAD programs. Reduce polygon count before conversion with Blender's Modifier Properties → Add Modifier → Decimate, or with another mesh-editing tool. For 2D cutting, generate a plane section or projected outline instead of exporting the complete 3D mesh; a faceted 3D surface is usually unsuitable as direct CNC toolpath geometry.


Note: This gltf to dxf conversion record is incomplete, must be verified, and may contain inaccuracies. Please vote below whether you found this information helpful or not.

Was this information helpful?

GLTF vs DXF: format comparison

How the GLTF and DXF formats compare on the properties that matter most for this conversion.

Comparison of the GLTF and DXF file formats
Property .GLTF GL Transmission Format .DXF Drawing Exchange Format
Open standard Yes Partly open
Compression Both Uncompressed
Typical file size Small Large
Opens in a web browser Partial No
Further editing Easy Limited
Metadata support Basic Basic
Plain-text readable Yes Yes
Best used for Data exchange Data exchange
Introduced 2015 1982
Developer Khronos Group Autodesk
MIME type model/gltf+json application/dxf

Frequently asked questions

Is the GLTF to DXF converter free?

Yes, converting GLTF to DXF on 101convert.com is completely free. No registration, email address or installation is required. If you need a higher file size limit or want to convert more files at once, see our plans.

How large can my GLTF file be?

You can upload GLTF files up to 50 MB and convert up to 20 files at once in a single batch.

What happens to my uploaded files?

Files are processed automatically and deleted from our servers within a few minutes after conversion. We never view or share your files.

Do I need to install any software to convert GLTF to DXF?

No. The GLTF to DXF conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.

Did the conversion fail?

In most cases, the cause is an incorrect file format. Please upload a valid GLTF file for this GLTF to DXF conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.

Additional formats for
gltf file conversion

Reverse conversion

Convert to dxf from
other formats

Share on social media: