snippet
https://docs.blender.org/api/current/info_tips_and_tricks.html#executing-external-scripts
blend file を得る
bpy.data.filepath
command line
blender --background --python myscript.py
https://docs.blender.org/api/current/info_tips_and_tricks.html#executing-external-scripts
bpy.data.filepath
blender --background --python myscript.py