ya2 · news · projects · code · about

gettext: --no-location
[pmachines.git] / ya2 / build / blend2gltf.py
1 import bpy
2 import sys
3 import os
4
5 filepath = os.path.abspath(sys.argv[-1])
6 bpy.ops.export_scene.gltf(
7 filepath=filepath,
8 export_format='GLTF_SEPARATE',
9 export_extras=True,
10 export_tangents=True,
11 use_selection=True)