RealFlow Wisdom

RealFlow blog, tips, tutorials, technics and scripting.

Print your settings

A good way to remember your settings when doing testings is printing them in the preview videos.

Switch on the option  “Show Preview Caption” in the menu  “View”, copy and paste this lines in a new script in the simulationPre tab, you can add whatever parameters you want:

emitter = scene.getEmitter("yourEmitter01")

visc = emitter.getParameter("Viscosity")

st = emitter.getParameter("Surface Tension")

scene.setPreviewCaption("Viscosity: " + str(visc) + "\n" + "Surface Tension: " + str(st))

August 8, 2011 Posted by | GUI, Pipeline, Scripting, Tips | , , , | 1 Comment

Export node selected to XML format, save your presets!

The Exporting XML option that you can found in the Export/Import menus is a good way for saving your Presets for any node in the scene. I use it a lot in my projects, for this reason I did this simple script for exporting to XML the node selected. The script creates a xml folder in the RF project where all xml files will be saved and let you choose two types of suffixes, Time in seconds or user defined.

October 5, 2010 Posted by | Animaton, GUI, Pipeline, Scripting, Tips | , , , , | Leave a Comment

IDOC Subversions script.

This script helps you to create IDOCS for selected nodes, so you could save subversions of the emitters in the scene without to change the name of the emitters or create endless versions of the scene. Very suitable in cases where you need to keep versions of the simulations as showed in the past post about IDOCS.

August 9, 2010 Posted by | GUI, Pipeline, Scripting | , , | Leave a Comment

Follow

Get every new post delivered to your Inbox.

Join 168 other followers