'Scripts' Category

Here You can find various scripts created or being created by me.

[RF] Look out for parents!

Realflow, Scripts No Comments »

Small tip for coders and TD’s – always check if there is no parent! :)
This might be quite obvious but in fact, this is very common mistake.
If you allow user to use bounding box, bounding sphere to control your code or you need to get a position information from object, check if it is not parented! otherwise you will get wrong data!.
Read More »

[RF] Send Mail script v1.2 for RF5

Realflow, Scripts 1 Comment »

I have updated “Send Mail” script for realflow and now it is compatible with RF version 5. Unfortunately as a Unix user I haven’t got much time to test it on Windows machines. I have heard that some of them returns “Home” environment as “None” and that means – plugin will not work. If it does happen to you, please let me know, drop me a line on e-mail or just write your machine/system details in comments. I will try to recreate this problem.

Read More »

[RF] Copy transformations script

Realflow, Scripts, Work 3 Comments »

Another one small script, simple as it is but might speed up your work.

This script will only copy transformations from chosen node into another. It was very helpful in my case so maybe it also would for someone else :)

Download:
[RF Script page]

[RF] Realflow Marking Script

Realflow, Scripts 1 Comment »

This script will help You with selecting and passing on particles between two emitters without any collision or link between obiect-emitter.

Read More »

[RF] scripted particle scatter

Realflow, Scripts 9 Comments »

compare02Of course You can cover up an object with Realflow particles by using “Fill_Object” emitter but then You cannot control and randomize particle placement. So I have created this little script that is going to be a part of incoming, bigger script ;]
Also RF have problem with covering polygons (You can see gap on the edges). With higher surface tension, you will only get bigger holes. This script deals with such problems. Area of each polygon is also calculated so it creates more/less particles when needed.

Read More »

[RF] Targeting in Realflow

Realflow, Scripts No Comments »

targetingIt’s rather quick tip, not script :)

Normally to target an object, You would have to play with matrix but Realflow have better way.

You can easily define any kind of emitter and target object (it’s better to use Null object that You can parent to anything You want )

Paste script below on “event script editor”, over “onSimulationStep” definition.

Read More »

[RF] Foam on custom wave object (v1.2)

Realflow, Scripts, Work 17 Comments »

I’m posting little, free script to add and control foam on custom wave object (for eg. imported from dreamscape).
This little script will get verticies out of custom object over given Y value, get their velocity and add Particles in that position. I’m using Null object to better visualize Y threshold value.
I have also added random function for little variation when adding particles.

—- UPDATE!!!
Read More »

[RF] Send mail RF script v1.1 RF4

Realflow, Scripts No Comments »

mail I have just uploaded small script that will allow setup SMTP server and will send You an email with attached screenshot when simulation is complete.

Script can be found [HERE]

Read More »

Drawing on wet glass (v0.4)

Realflow, Scripts, Work 3 Comments »

I just got an idea how to script Realflow simulation of somebody drawing on wet glass.
early beta :)

Right now, particles are too quick and chaotic, it will be corrected in next script version.

click ‘read more’ for animated version (links on the bottom).

glass04
Read More »

Scripted melting

Realflow, Scripts, Work 4 Comments »

I’m working on scripted meltig technique in realflow. It keeps UVs so You can apply textures.

[Realflow Forum discussion]