Page 1 of 1

Command line - particles disappear

Posted: Tue Jun 18, 2013 9:29 am
by astan
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.

Re: Command line - particles disappear

Posted: Tue Jun 18, 2013 10:17 am
by LuisMiguel
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. ;)

Re: Command line - particles disappear

Posted: Tue Jun 18, 2013 10:48 am
by astan
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.

Re: Command line - particles disappear

Posted: Wed Jun 19, 2013 10:55 am
by LuisMiguel
Ok, I understood it was a fill object cause we had another issue with that emitter and the same problem.

;)

luisM.