Re: [Yade-users] [Question #661262]: How to record the rotation angle of polyhedra?

2017-11-30 Thread De zhang
Question #661262 on Yade changed: https://answers.launchpad.net/yade/+question/661262 Status: Solved => Open De zhang is still having a problem: Hello, Jan~ I have one more question about the rotation angle of polyhedra that if I want to know the rotation angle rate of that. Can I calculate

Re: [Yade-users] [Question #661262]: How to record the rotation angle of polyhedra?

2017-11-30 Thread De zhang
Question #661262 on Yade changed: https://answers.launchpad.net/yade/+question/661262 De zhang posted a new comment: Hello, Jan~ I have one more question about the rotation angle of polyhedra that if I want to know the rotation angle rate of that. Can I calculate it by deltaV/(iter*time-pave) ?

Re: [Yade-users] [Question #661262]: How to record the rotation angle of polyhedra?

2017-11-30 Thread De zhang
Question #661262 on Yade changed: https://answers.launchpad.net/yade/+question/661262 De zhang posted a new comment: Thanks Jan and Bruno~ I will have try~ -- You received this question notification because your team yade-users is an answer contact for Yade.

Re: [Yade-users] [Question #661262]: How to record the rotation angle of polyhedra?

2017-11-30 Thread De zhang
Question #661262 on Yade changed: https://answers.launchpad.net/yade/+question/661262 Status: Answered => Solved De zhang confirmed that the question is solved: Thanks Jan Stránský, that solved my question. -- You received this question notification because your team yade-users is an

Re: [Yade-users] [Question #661118]: "unable to activate the qt5 interface" yade 2017.01a

2017-11-30 Thread Carolina
Question #661118 on Yade changed: https://answers.launchpad.net/yade/+question/661118 Status: Open => Solved Carolina confirmed that the question is solved: Finally I went back to ubuntu 16.04 and installed yade 1.20.0 where the script runs without problem. Thanks Carolina -- You

Re: [Yade-users] [Question #661262]: How to record the rotation angle of polyhedra?

2017-11-30 Thread Jan Stránský
Question #661262 on Yade changed: https://answers.launchpad.net/yade/+question/661262 Jan Stránský proposed the following answer: > I want to record the rotation angle of one or more polyhedra around x axis. thanks, it makes it much more clear :-) o = b.state.ori v = o.toRotationVector() ax =

Re: [Yade-users] [Question #661262]: How to record the rotation angle of polyhedra?

2017-11-30 Thread Bruno Chareyre
Question #661262 on Yade changed: https://answers.launchpad.net/yade/+question/661262 Status: Open => Answered Bruno Chareyre proposed the following answer: Yade [3]: q=O.bodies[200].state.ori Yade [4]: q. +TAB q.conjugate q.norm q.Rotate q.toAxisAngle

Re: [Yade-users] [Question #661262]: How to record the rotation angle of polyhedra?

2017-11-30 Thread De zhang
Question #661262 on Yade changed: https://answers.launchpad.net/yade/+question/661262 De zhang gave more information on the question: Jan~ I got the bodies[200].state.ori=Quaternion((0.5658292752452952,0.037320394020097174,0.823677375836904),2.187809578030986) ##quaternion(x,y,z,w) how to

Re: [Yade-users] [Question #661262]: How to record the rotation angle of polyhedra?

2017-11-30 Thread De zhang
Question #661262 on Yade changed: https://answers.launchpad.net/yade/+question/661262 De zhang gave more information on the question: Jan~ I checked the model and found that the bodies[45] was facet!!! Oh! it's .^^ But I still want to know how to record the rotation angle of polyhedra? as the

Re: [Yade-users] [Question #661286]: Still NameError: global name 'inGtsSurface' is not defined

2017-11-30 Thread JOHN
Question #661286 on Yade changed: https://answers.launchpad.net/yade/+question/661286 JOHN gave more information on the question: Unfortunately, previous suggestion from yade import pack pack.inGtsSurface or import yade yade.pack.inGtsSurface didnt work -- You received this question

[Yade-users] [Question #661286]: Still NameError: global name 'inGtsSurface' is not defined

2017-11-30 Thread JOHN
New question #661286 on Yade: https://answers.launchpad.net/yade/+question/661286 I apologise for the duplicate question, but the answered tag might give the wrong impression Good evening all, So, i tried to wrap my code in a python class and call it from somewhere else using python (e.g.

Re: [Yade-users] [Question #661262]: How to record the rotation angle of polyhedra?

2017-11-30 Thread De zhang
Question #661262 on Yade changed: https://answers.launchpad.net/yade/+question/661262 Status: Needs information => Open De zhang gave more information on the question: Thanks Jan~ Actually I want to record the rotation angle of one or more polyhedra around x axis. I tried state.ori,

Re: [Yade-users] [Question #661262]: How to record the rotation angle of polyhedra?

2017-11-30 Thread Jan Stránský
Question #661262 on Yade changed: https://answers.launchpad.net/yade/+question/661262 Status: Open => Needs information Jan Stránský requested more information: Hello, see my comment in [1]. The problem here is the definition of "the rotation angle". I think in 3D you can deal with it in