yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #14257
Re: [Question #497350]: Export a polyhedron into a *.stl or * .gts file
Question #497350 on Yade changed:
https://answers.launchpad.net/yade/+question/497350
Status: Open => Answered
Jan Stránský proposed the following answer:
Hi Tina,
I have tried your code and did not face any problem..
please be more specific on "the *.stl only contains some triangles".
The code is sopposed to save surface of the polyhedron as a set of
triangles. Are some triangles missing? Or did you expect some other output?
I don't use stl myself, but according to [1], "In practice, however, all
facets are simple triangles.". Probably it would be possible to save each
face as a polygon, not only triangles..
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.