some work on exporter

This commit is contained in:
Ziver Koc 2020-04-27 00:01:12 +02:00
parent 722fd26511
commit 6687ec186d
3 changed files with 15 additions and 10 deletions

8
core/blender-export.py Normal file
View file

@ -0,0 +1,8 @@
import bpy
import sys
args = sys.argv[sys.argv.index("--") + 1:] # get all args after "--"
print("Exporting .blend file to: " + args)
bpy.ops.export_scene.fbx(filepath=args, axis_forward='-Z', axis_up='Y')