kaosat-dev / Blenvy

Bevy Code & Blender addon for a simple workflow to add & edit Bevy components in Blender
Other
558 stars 50 forks source link

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

Open hedefalk opened 1 week ago

hedefalk commented 1 week ago

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?

antont commented 1 day ago

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