DevXR Studio

DWG to GLB conversion

Convert a DWG file to GLB for the web

Import the drawing into 3ds Max, select the useful layers and units, prepare web-friendly meshes and export one binary glTF file with the Real-Time Exporter.

SourceDWGCAD drawingFormatGLBBinary glTF for the webDevXR StudioGLBValidated · ready for the web
01

A GLB is the shortest delivery path into DevXR because it is already the canonical browser format. The conversion must still be reviewed: CAD solids, proxy objects and desktop materials do not always map cleanly to real-time meshes and glTF materials.

The workflow in 4 steps

  1. 01

    Prepare a clean CAD source

    Keep the useful 3D layers, resolve required xrefs and proxy objects, confirm units and remove drawing-only detail that should not become web geometry.

  2. 02

    Import the DWG into 3ds Max

    Choose AutoCAD Drawing in the import dialog. Check rescaling, incoming units and layer selection before accepting the conversion to editable meshes and splines.

  3. 03

    Prepare the real-time scene

    Remove empty 2D entities and excessive detail, inspect normals and extents, move the model near a sensible origin and replace unsupported materials with simple glTF-compatible materials and bitmap textures.

  4. 04

    Export, import and verify the GLB

    Use the Real-Time Exporter, enable binary GLB output and export only the required objects. Upload that GLB to DevXR and verify framing, scale, geometry, materials and performance before publication.

Binary glTF for the web

Export a real GLB after inspecting the imported scene

In 3ds Max, import the file as AutoCAD Drawing (*.DWG, *.DXF), verify incoming units and layers, then use File > Export > Real-Time Exporter with GL Transmission Format and Export glTF Binary (.glb). Autodesk documents important limits: hierarchies are flattened, animation and skin data are not exported, and glTF Materials with bitmap textures produce the most predictable result.

Before you import

  • The DWG contains useful 3D surfaces, solids or meshes rather than only a 2D plan.
  • Incoming units, model extents and origin are correct in 3ds Max.
  • Only required layers and resolved references are included.
  • Normals, polygon count and bitmap textures are suitable for a real-time browser viewer.
  • The exported .glb stays below 100 MB and has been inspected in DevXR before sharing.

Frequently asked questions

Can AutoCAD export GLB directly?

Current AutoCAD export formats do not include GLB. A practical documented route is to import DWG into 3ds Max and use its Real-Time Exporter to create a binary glTF file.

Should I choose `.gltf` or `.glb`?

Choose GLB for DevXR. It packages the glTF scene, binary data and embedded resources into one delivery file, which reduces missing-file errors.

Why did layers or blocks change after conversion?

The DWG importer translates only supported CAD objects into 3ds Max objects, and the glTF exporter flattens hierarchies. Keep a separate DWG source of truth and validate the delivery model visually.

Will CAD materials look identical in the browser?

Not necessarily. Desktop CAD materials and procedural maps may not map to glTF. Use simple glTF Materials with bitmap textures and review the GLB in its final viewer.

Can DevXR repair an incomplete conversion?

No. DevXR validates and displays the delivered GLB but does not reconstruct missing DWG objects. Correct the source or export settings, then upload a new version.

Official sources

Procedures and limitations verified against vendor documentation.