Re: [Yade-users] [Question #661063]: repeat scripts cause the problem? how to solve

2017-11-26 Thread De zhang
Question #661063 on Yade changed: https://answers.launchpad.net/yade/+question/661063 De zhang posted a new comment: Jan~Thanks~ Help me a lot~~Wish having a warm weekend~~ -- You received this question notification because your team yade-users is an answer contact for Yade.

Re: [Yade-users] [Question #661063]: repeat scripts cause the problem? how to solve

2017-11-26 Thread Jan Stránský
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

Re: [Yade-users] [Question #661063]: repeat scripts cause the problem? how to solve

2017-11-26 Thread Jan Stránský
Question #661063 on Yade changed: https://answers.launchpad.net/yade/+question/661063 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > O.forces.setPermF(O.bodies[0].id,(0,0,(0,0,-200-100*sin((15/pi)*O.time > ... > ForceContainer.setPermF(ForceContainer, int,

Re: [Yade-users] [Question #661063]: repeat scripts cause the problem? how to solve

2017-11-26 Thread De zhang
Question #661063 on Yade changed: https://answers.launchpad.net/yade/+question/661063 Status: Needs information => Open De zhang gave more information on the question: Thank you! Jan~ The simple process was added on the above comment, and I have another questions about the plot. ###

Re: [Yade-users] [Question #661063]: repeat scripts cause the problem? how to solve

2017-11-26 Thread De zhang
Question #661063 on Yade changed: https://answers.launchpad.net/yade/+question/661063 De zhang posted a new comment: Thank you! Jan~ My friend and I checked the scripts each line and find that a bracket was missing in one line (x_x||) for my careless. But there is another problem for

Re: [Yade-users] [Question #661063]: repeat scripts cause the problem? how to solve

2017-11-25 Thread Jan Stránský
Question #661063 on Yade changed: https://answers.launchpad.net/yade/+question/661063 Status: Open => Needs information Jan Stránský requested more information: Hello, as the error says, there is a syntax error in your script > script is same as before but some parameters were changed so

[Yade-users] [Question #661063]: repeat scripts cause the problem? how to solve

2017-11-24 Thread De zhang
New question #661063 on Yade: https://answers.launchpad.net/yade/+question/661063 Dear everybody I repeat a scripts lot to debugger program. I use the 'from yade import qt,plot,utils,polyhedra_utils,ymport,export,pack' modules, as several times I run the program, the last time I run the