Blender_bevy_components_workflow icon indicating copy to clipboard operation
Blender_bevy_components_workflow copied to clipboard

Question - is there a cli version of the blender export?

Open hedefalk opened this issue 1 year ago • 1 comments

I'm just starting to try this out so I'm still trying to figure out the workflow. But it sounds to me that the blueprints and materials that are exported from blender on save is not something that I'd wanna version control, since it's just derived from the .blend file (than I'm guessing I should try to version control with git lfs)

So it would be awesome with a cli version of the export to complement the ui's save-action that would be a pre-build step? Is there any such thing? Or is the idea that I should version handle the gltf's?

hedefalk avatar Oct 01 '24 10:10 hedefalk

You can use Blender from the CLI, if that does what you need.

https://docs.blender.org/manual/en/latest/advanced/command_line/arguments.html#command-line-args-python-options

-P, --python filepath

antont avatar Oct 07 '24 07:10 antont