Save auto-generated modeling to a Python script file

Asked by Hien Nguyen

Hello,

I prefer the utility that I can create a standard Triaxial test using the User Interface that auto generate the model (type data then click Generate). I want to export/save/record the whole process back to Python script, first to help faster understanding the code (I'm 100% novice so I need a basic form of code to learn from), second I want to modify it (I want to plot some data) so how can I do this: record/save/export that automated process into a raw python script file (*.py)?

(I've read
https://www.yade-dem.org/doc/yade.ymport.html and
https://www.yade-dem.org/doc/yade.export.html but still can not do it.)
I'm using YADE 0.80.1

Thanks in advance, any help is highly appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Anton Gladky
Solved:
Last query:
Last reply:
Revision history for this message
Best Anton Gladky (gladky-anton) said :
#1

Hello,

https://github.com/yade/trunk/tree/master/examples/triax-tutorial

there are some scripts, which can be usefull for you, I think.

Cheers,

Anton

Revision history for this message
Hien Nguyen (giahien) said :
#2

Thanks Anton Gladky, that solved my question.