New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add functionality to bake from the command line #329

bholzer opened this Issue Jun 7, 2018 · 3 comments


None yet
2 participants

bholzer commented Jun 7, 2018

My rendering/baking pipeline is in the cloud, so much of my baking and rendering happens from the command line on a server, generally with some startup python script.

There is info here on how to bake blender's built-in fluids via Python:

Could you write documentation on how to do this in Flip?


This comment has been minimized.


rlguy commented Jun 8, 2018

Hey bholzer,

I didn't have functionality for baking from the command line in mind when writing the baking process so this is not possible within the addon at the moment, but it is a great idea to have this! I have added this functionality and it will be available in the next version (1.0.4).

If you want to try it out now, here's how (assuming you are currently using version 1.0.3):

You will need to replace the addon operators\ file with this modified version of the file:

For example, my file is located here:

C:\Users\ryanl\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\flip_fluids_addon\operators\

Once the file is replaced, a fluid simulation scene can be baked from the command line using the following script:

import bpy

using the same command as you would baking with the built-in fluid simulator:

blender --background file.blend --python

Notes: This script will resume the fluid simulation from the last computed frame in the cache. If you want to reset the simulation cache, you may do so through the Blender scene as usual or by running the following script:

import bpy

I will add this to the documentation after some further testing and closer to the release of the next version.

@rlguy rlguy changed the title from No documentation on how to bake via Python to [Feature Request] Add functionality to bake from the command line Jun 8, 2018

@rlguy rlguy added the feature label Jun 8, 2018


This comment has been minimized.

bholzer commented Jun 8, 2018

Awesome, thanks so much, this should make my life easy!

@rlguy rlguy added the documentation label Jun 10, 2018


This comment has been minimized.


rlguy commented Aug 6, 2018

Documentation for this feature has been added here:

This feature will be available in the next version update (1.0.4 available August 11th).

@rlguy rlguy closed this Aug 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment