Skip to content

MutableLoss/barista-agent

Repository files navigation

Barista Agent

Remove Server control for the Barista client

Setup

$ gem build barista_agent
$ gem install barista_agent.gem

Use

$ barista_agent help

Command flag: This is used for the initial blender command; the executable path, the scene file name, the startup script, render engine, output file format, and output template.

"blender-4.3/Blender blender-files/my_first_simulation-blender-2.8-cycles.blend -P ./settings.py -E CYCLES -F PNG -o my_first_simulation-blender-2.8-cycles_###### "

The setup script is automatically generated, but a name must be given in case you want to use a custom startup script.

Description

The agent can be used on any Linux/UNIX system to automatically generate a Blender environment for your scene based on the settings sent to it. It will automatically install addons (if requested), setup the scene file for rendering on auto-scaled systems, auto upload completed renders to AWS, cleanup files in real-time after upload, and run a webhook server to send render progress when connected.

Debug Mode

If you would like to test the agent locally, you can set Debug mode in the global.rb file, by setting DEBUG_SET to true. This will disable AWS connectivity, and only work locally within the working folder, and also enable the debug logging.

Type Safety

The Barista Agent project does use Sorbet for type safety, and will help determine what sort of data needs to go through the CLI flags. You can check all the configuration types in the Configurator.rb file.

About

Instance Agent for Barista

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages