yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #08431
Re: [Question #237437]: Set a single engine in a CombinedCinematicEngine to dead = True
Question #237437 on Yade changed:
https://answers.launchpad.net/yade/+question/237437
Status: Open => Answered
Jan Stránský proposed the following answer:
Hi Felix,
probably nobody needed this feature before, so it was not there :-) I have
changed the code such that the CombinedKinematicEngine will not call its
subengines iff their dead attribute is set to true. Could you please update
to the newest version and try it?
cheers
Jan
2013/10/16 Felix Niewienda <question237437@xxxxxxxxxxxxxxxxxxxxx>
> 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.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.