yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #16307
Re: [Question #661063]: repeat scripts cause the problem? how to solve
Question #661063 on Yade changed:
https://answers.launchpad.net/yade/+question/661063
Jan Stránský proposed the following answer:
> line3 W=loadingplate.state.pos[2]-loadingplate.state.refPos[2]
loadingplate.state.pos is current position of loadingplate
loadingplate.state.refPos is initial position of loadingplate
loadingplate.state.pos - loadingplate.state.refPos is therefore displacement of loadingplate. Using the index pos[2] and refPos[2] you evaluates only displacement in z direction
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.