2gltf2 is a command line tool based on Blender and Blender glTF 2.0 Importer and Exporter to convert from several 3D file formats to glTF 2.0.
Usage: 2gltf2.bat [filename]
on Windows or ./2gltf2.sh [filename]
on Linux.
- Blender 3.5.x
- Linux or Windows
For other Blender versions and/or operating systems, please adapt the path in 2gltf2.bat
or 2gltf2.sh
.
- ABC Alembic
- BLEND Blender native file format
- DAE COLLADA
- FBX Filmbox
- OBJ Wavefront OBJ
- PLY Polygon File Format
- STL STL
- USD USD, USDA and USDC
- WRL VRML
- X3D X3D
To inspect or optimize the converted glTF, please try out Gestaltor.