← Back to team overview

yade-users team mailing list archive

Re: [Question #691986]: Import txt format to YADE

 

Question #691986 on Yade changed:
https://answers.launchpad.net/yade/+question/691986

    Status: Needs information => Answered

Jérôme Duriez proposed the following answer:
This [*] function reads some text file to create spherical bodies. If
this is not the kind of text import you would like, please clarify (much
-- which link ?) your question.

Note also that YADE is Python and, as such, all Python manipulation of
text files are possible, eg [**].

[*] https://yade-dem.org/doc/yade.ymport.html#yade.ymport.text
[**] https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files

You received this question notification because your team yade-users is
an answer contact for Yade.