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.
Command line - particles disappear
- LuisMiguel
- Posts: 528
- Joined: Fri Jun 04, 2010 2:37 pm
Re: Command line - particles disappear
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.
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
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.
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.
- LuisMiguel
- Posts: 528
- Joined: Fri Jun 04, 2010 2:37 pm
Re: Command line - particles disappear
Ok, I understood it was a fill object cause we had another issue with that emitter and the same problem.

luisM.

luisM.