Initial commit
This commit is contained in:
commit
a437c068c8
64 changed files with 561683 additions and 0 deletions
9
scripts/convert-blender-to-gltf.py
Normal file
9
scripts/convert-blender-to-gltf.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import bpy
|
||||
import os
|
||||
import sys
|
||||
|
||||
print("Converting: '" + sys.argv[6] + "'")
|
||||
print("Saving to : '" + sys.argv[7] + "'")
|
||||
|
||||
bpy.ops.wm.open_mainfile(filepath=sys.argv[6])
|
||||
bpy.ops.export_scene.gltf(filepath=sys.argv[7], export_format="GLB")
|
||||
Loading…
Add table
Add a link
Reference in a new issue