Question #704551 on Yade changed:
https://answers.launchpad.net/yade/+question/704551
Leonard 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 answer contact for Yade.
Question #704551 on Yade changed:
https://answers.launchpad.net/yade/+question/704551
Status: Answered => Solved
Leonard confirmed that the question is solved:
Hi,
Yes, that is a good idea and I am moving to the latest version of Yade.
Just because lots of project data have been obtained
Question #704551 on Yade changed:
https://answers.launchpad.net/yade/+question/704551
Status: Open => Answered
Jan Stránský proposed the following answer:
For python 2, change the "builtin" approach from
### python 3
import builtins
builtins.data = data
###
to
### both python 3 and python
Question #704551 on Yade changed:
https://answers.launchpad.net/yade/+question/704551
Jérôme Duriez posted a new comment:
With Python 2 and Yade 2018, and considering how fast Yade is evolving,
did you consider updating your system ? (sorry for the comment if that's
impossible for you)
--
You
Question #704551 on Yade changed:
https://answers.launchpad.net/yade/+question/704551
Status: Needs information => Open
Leonard gave more information on the question:
Hi Jan,
It is python 2.7.17. Obtained by:
In [1]: import sys; print(sys.version)
2.7.17 (default, Nov 28 2022, 18:51:39)
Question #704551 on Yade changed:
https://answers.launchpad.net/yade/+question/704551
Status: Open => Needs information
Jan Stránský requested more information:
What python version do you use?
--
You received this question notification because your team yade-users is
an answer contact for
Question #704551 on Yade changed:
https://answers.launchpad.net/yade/+question/704551
Status: Answered => Open
Leonard is still having a problem:
Hi Jan and Karol,
Thanks for your MWEs.
Because I use an old version of Yade (2018.02b), consequently executing the MWE
gives error:
Question #704551 on Yade changed:
https://answers.launchpad.net/yade/+question/704551
Jan Stránský proposed the following answer:
a MWE for a case where you have the computed values
###
from yade import export
import builtins # to store "data" and access them from a string command
spheres = [
Question #704551 on Yade changed:
https://answers.launchpad.net/yade/+question/704551
Status: Open => Answered
Karol Brzezinski proposed the following answer:
Hi Leonard,
I think that you can use 'rot()' method of body state or Jan's proposal
in VTKExporter.
MVE
from yade import
Question #704551 on Yade changed:
https://answers.launchpad.net/yade/+question/704551
Status: Answered => Open
Leonard is still having a problem:
Hi Jan,
Thanks for your reply.
I got the solution for each individual question. But I am not clear how
to combine the two.
If I understood
Question #704551 on Yade changed:
https://answers.launchpad.net/yade/+question/704551
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
> (1) how to calculate the relative rotation angle of a sphere between
two states?
see [1]:
###
relOri =
11 matches
Mail list logo