← Back to team overview

yade-users team mailing list archive

Re: [Question #406791]: error in making the .gts file from .stl file

 

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

    Status: Answered => Open

alma is still having a problem:
Hi Jan,
> why actually do you need to convert the .stl file to .gts format?
because I'm using gts.read()-function for importing mesh file and filling it with spheres. Is there any way to use the .stl format for that (filling geometry with spheres)?  

>The files is plain text format, so you can write your own convertor :-)
I prepared a gts file that It opens in softwares such Rhinoceros5 and MeshLab, but when importing it in Yade, I faced the following error: 
RuntimeError                              Traceback (most recent call last)
/usr/bin/yade in <module>()
----> 1 surface=gts.read(open(mesh+'.gts'))

RuntimeError: expecting an integer (number of faces)

the gts file has been attached to this address: https://www.dropbox.com/s/jp0ht1om1ttv64x/test.rar?dl=0
If possible, please look at the file and test it ,I'm so confused with this error :-/
thanks for attention,
Alma

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