8 lines
No EOL
209 B
Python
8 lines
No EOL
209 B
Python
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') |