Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Batch scripts are not saved with the current project and you always have to store them separately on your hard disk. It is a good idea to either find a common place for all batch scripts.

 

Image Added

Simulation Flow Scripts

"Simulation Flow" scripts are executed when a simulation starts or ends, or the beginning of a new time step or frame. Scripts are not limited to one of these events. You can write one part that is only executed at the beginning of the simulation and another one that is applied at each simulation step. These types of “split” scripts are often used to initialize a scene or reset values to defaults, and then perform the actual calculation. RealFlow provides a specific window reserved exclusively for this script type:

...

Scripts can be added with a right-click on the appropriate entry of the events tree:

 

Image Added

Node Scripts

Here, the most important type is the scripted daemon where you define custom forces and let them act on fluids or objects. An empty scripted daemon node can be found under:

...