← Back to team overview

yade-users team mailing list archive

Re: [Question #701519]: Import packing text file into yade

 

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

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Regarding #1, where did you see ymport.text should/ could be used with a format argument ? 
Not at https://yade-dem.org/doc/yade.ymport.html#yade.ymport.text, I presume.

For the initial question, I could not reproduce your issue:

from yade import ymport,export
O.bodies.append(sphere((0,0,0),1))
export.text('final.txt', mask=-1) 
ymport.text('final.txt', shift=Vector3(0, 0, 0), scale=1.0)

works for me with yadedaily 20220419-6447~fd04d86~focal1. You may try to
precise your YADE version and shorten your script for additional support

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