yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #17352
Re: [Question #669206]: malloc() : memory corruption error from ymport.textPolyhedra on yadedaily
Question #669206 on Yade changed:
https://answers.launchpad.net/yade/+question/669206
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
a quick answer, ymport.textPolyhedra import polyhedra from a text file,
not .stl file. Use ymport.stl instead (giving error on your file). I
also tried the stl file you provided using https://www.viewstl.com/, but
it looks very strange..
ymport.stl returns list of facets, but they can be converted to gts surface [1] and then easily to a polyhedron
cheers
Jan
[1] https://answers.launchpad.net/yade/+question/406791#comment-6
--
You received this question notification because your team yade-users is
an answer contact for Yade.