The GL Transmission Format (glTF™) is a royalty-free specification for the efficient transmission and loading of 3D scenes and models by applications. It minimizes both the size of 3D assets, and the runtime processing needed to unpack and use those assets.
Currently not supported in FreeCAD.
Since FreeCAD version 0.19.23074 the Std Export command can export to the gITF format.
Alternative export solutions
For earlier versions these workarounds can be used:
1. Export as STEP → Import into CAD Assistant from Opencascade -> Export to glTF
2. Use the
cqparts Python library (website):
import cqparts cqparts.Assembly.importer('step')('myfile.stp').exporter('gltf')('myfile.gltf')
Source: Forum thread