RealFlow Wisdom

RealFlow blog: Tips, Technics and Scripting.

Copy parameters script

 This Script copy the parameters between nodes, select the node you want copy and then the list of nodes you want to transfer the values. Only copy the properties not the transforms.

Advertisements

October 9, 2012 Posted by | GUI, Pipeline, Scripting | , , , | Leave a comment

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 | , , , | 3 Comments

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