← Back to team overview

yade-users team mailing list archive

[Question #237437]: Set a single engine in a CombinedCinematicEngine to dead = True

 

New question #237437 on Yade:
https://answers.launchpad.net/yade/+question/237437

Hi,

i am trying to combine multiple HarmonicRotationEngines using CombinedCinematicEngine. To get the cinematic i want i need to start the engines at different times. 

So i tried to initiate the second engine in comb with dead = True. It will be set to False after a while.

  CombinedKinematicEngine(comb=(HarmonicRotationEngine(A = 0.05, f = freq, rotationAxis = [1.0, 0.0, 0.0], rotateAroundZero = True, zeroPoint = [0.0, 0.0, -1.5]),
  HarmonicRotationEngine(A = 0.05, f = freq, rotationAxis = [1.0,0.0,0.0], dead = True, rotateAroundZero = True, zeroPoint = [0.0,0.0,-1.5]),
  ), ids = zylinder, label = "Combined"),

In the example above both engines work from begin on. The problem seems to be that is isn't possible to use dead on a single engine in comb.

Is there a possiblity to make it work this way or are there any other solutions? (I already tried to set A = 0 and change that after a while, but that doesn't change the phaseing of the engine.)

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.