Command line - particles disappear

Post Reply
astan
Posts: 19
Joined: Mon Mar 19, 2012 11:50 am

Command line - particles disappear

Post by astan » Tue Jun 18, 2013 9:29 am

Hej,

i have a little problem with command line simulation and SPH. if i simulate in without CL it works fine.
But if i switch to CL all my particles disappear. attached you find a video of the problem..

https://www.dropbox.com/s/xnrsz5siy5hpm ... ndline.mov

best regards.

User avatar
LuisMiguel
Posts: 528
Joined: Fri Jun 04, 2010 2:37 pm

Re: Command line - particles disappear

Post by LuisMiguel » Tue Jun 18, 2013 10:17 am

Hi astan,

There is a bug with the timeline and for this reason the fill is not working properly, but there are two workarounds to fix this.

First one is setting the reset to "reset to initial state", move the timeline so you start to simulate in a frame different of zero and simulate.

Second one, I prefer this option, is creating this script in the Simulation Flow, inside of Simulation Pre.

emitter = scene.get_PB_Emitter("Fill_Object01") #make sure you are putting the right name for your fill emitter.
emitter.setParameter("Fill Volume", True)

luisM. ;)

astan
Posts: 19
Joined: Mon Mar 19, 2012 11:50 am

Re: Command line - particles disappear

Post by astan » Tue Jun 18, 2013 10:48 am

Hej Luis,

i'm sorry - i know there is already a thread about this. but i thought it would be "fill object" + CL related....so...i didnt use the "Fill object" emitter and filled it "manually" with a circle emitter. ;)

but in the end the first workaround works.

thanks for the reminder and fast response.

best regards.

User avatar
LuisMiguel
Posts: 528
Joined: Fri Jun 04, 2010 2:37 pm

Re: Command line - particles disappear

Post by LuisMiguel » Wed Jun 19, 2013 10:55 am

Ok, I understood it was a fill object cause we had another issue with that emitter and the same problem.

;)

luisM.

Post Reply