Does .gltf/.glb support sketches?

Hi everyone,

I am trying to convert a .dwg file to .gltf. The .dwg file contains some solid bodies and sketches. After exporting, the .gltf file doesn’t show any sketches. Does the .gltf/.glb format support sketches or 2D entities?

The glTF format supports points, lines, and triangle meshes. It sounds like either the exporter/converter you’re using doesn’t support lines, or perhaps your viewer doesn’t. If you wanted to test in a viewer that does support lines, one of these would work:

Most viewers are OK with lines, so I would guess the problem is in the conversion process.

1 Like