How to import obj and convert and export as fbx from command line in Python I would like to import an obj file and export it as an fbx file without having to use the Blender GUI.
The command: blender --background --python myscript.py
Is not working for me from Terminal on mac. My first real problem is I'd like to be able to do anything (even open blender using .exe) using Terminal. I've tried including the path to the Blender app but nothing seems to be working and I am just given the error &quot;blender is not a command&quot;
The link @HikariTw should give you an answer; for example on my system the path to Blender is /Applications/Blender.app/Contents/MacOS/Blender.  The error you're getting is because the Blender binary isn't in your path.
As for importing/exporting; your script should be pretty simple, just remove the default cube, call bpy.ops.import_mesh.stl to import and bpy.ops.export_scene.fbx to export.