Scatter

Discussion about scripting with Python
StephaneS
Posts: 85
Joined: Tue Jan 05, 2010 1:09 pm
Contact:

Scatter

Post by StephaneS » Mon May 09, 2011 5:49 pm

Thank very much Sir !

filippo316
Posts: 1
Joined: Tue May 10, 2011 8:08 am

Scatter

Post by filippo316 » Tue Jul 19, 2011 4:14 pm

Hi Bolek! I don't understand how to use this script with RealFlow 5.

I've changed the particle emitter and object's names but I constantly get error at line 82..:(

User avatar
bolek
Posts: 121
Joined: Thu Nov 27, 2008 10:24 am
Contact:

Scatter

Post by bolek » Wed Jul 20, 2011 2:38 pm

Hi.

Object you want to scatter on should be named "obj" and emitter name should be "sampler"

Line 82 and 84

Code: Select all

sampler = scene.getEmitter("sampler")
obj = scene.getObject("obj")
____________________________________________
http://vimeo.com/bolekcg
http://bolekcg.blogspot.com/

User avatar
jalixko
Posts: 72
Joined: Tue Jan 02, 2007 1:11 pm

Scatter

Post by jalixko » Wed Aug 24, 2011 9:09 am

Hi Bolek!
Could you share this script in the rf script page? I can´t find it.
Nice scripts to simulate bombs!!

User avatar
bolek
Posts: 121
Joined: Thu Nov 27, 2008 10:24 am
Contact:

Scatter

Post by bolek » Wed Aug 24, 2011 10:56 pm

Hi jalixko.

Thanks.

Of course I can. I didn't put the script on RFSite yet because I constantly think that I will improve it. But it's only thinking :) BTW at that moment I put script in there.

Take care.
____________________________________________
http://vimeo.com/bolekcg
http://bolekcg.blogspot.com/

User avatar
bolek
Posts: 121
Joined: Thu Nov 27, 2008 10:24 am
Contact:

Scatter

Post by bolek » Thu Aug 25, 2011 9:57 pm

Hmmm... I don't know why script is not showing up on resources site ....

Direct link to RF Resources SCATTER
____________________________________________
http://vimeo.com/bolekcg
http://bolekcg.blogspot.com/

bluehonda
Posts: 118
Joined: Mon Sep 11, 2006 7:27 am

Re: Scatter

Post by bluehonda » Fri Jan 08, 2016 1:58 am

Hi! Im getting a error when running the srcipt. After replacing the sampler with my emitter and obj with my object.

I get -

WARNING: Script error: "getEmitter" at line number 90.

help???

bluehonda
Posts: 118
Joined: Mon Sep 11, 2006 7:27 am

Re: Scatter

Post by bluehonda » Fri Jan 08, 2016 4:42 am

got it to work. thanks.

Younes33
Posts: 1
Joined: Wed May 22, 2019 10:51 pm

Re: Scatter

Post by Younes33 » Wed May 22, 2019 10:54 pm

bolek wrote:Hi.
Try again with this ONERachat prêt
But since first version nothing's changed.

peace!!
Thank you for the link

Post Reply

Return to “Python-Scripting”