Re: [Yade-users] [Question #704551]: How to make VTK file of relative particle rotation angle from state1 to state2

2023-01-31 Thread Leonard
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.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #704551]: How to make VTK file of relative particle rotation angle from state1 to state2

2023-01-31 Thread Leonard
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 in the old version, I 
would like to try whether it is possible to make use of them.

Thanks,
Leonard

-- 
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 : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #704551]: How to make VTK file of relative particle rotation angle from state1 to state2

2023-01-31 Thread Jan Stránský
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 2
__builtins__.data = data # note: no import
###

Cheers
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 : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp