Scatter

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

Scatter

Postby StephaneS » Mon May 09, 2011 5:49 pm

Thank very much Sir !


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

Scatter

Postby 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

Postby 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

Postby 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

Postby 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

Postby 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: 117
Joined: Mon Sep 11, 2006 7:27 am

Re: Scatter

Postby 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: 117
Joined: Mon Sep 11, 2006 7:27 am

Re: Scatter

Postby bluehonda » Fri Jan 08, 2016 4:42 am

got it to work. thanks.


Return to “Python-Scripting”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest