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. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

