← All ideas
  • Published 18 Jun 2019

Extended command line arguments (GPU setup and bake)

When connecting via ssh to some remote machines it would be useful to be able to list and select the rendering devices such as GPU cause now I understand that the only way to utilize them for rendering is to open Blender gui on the PC and go to preferences. It might be a bit problematic sometimes.

Also the option to bake all dynamics would be great to have in there. Yes we can use python script wight now but when having a lot of simulations one needs to select them all there and this would be much more convenient.

0%

Development Status: Open

Upvote 0 Downvote 0
hitokageproduction
18 Jun 2019

2 Comments

jason

This is pretty trivial to solve with a little bit of scripting. You can launch Blender from the command line with either the --python-expr or --python command line options. The former allows you to give an arbitrary line (or lines) of python upon launching (like choosing a GPU) whereas the latter lets you run a whole python script upon launch.

They're a bit dated, but I have a couple examples on Github:

hitokageproduction Author

* @Jason van Gumster * As I said there are scripts for baking, didn't know that this device selection is possible. Thanks for sharing that.