yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #18196
Re: [Question #497350]: Export a polyhedron into a *.stl or * .gts file
Question #497350 on Yade changed:
https://answers.launchpad.net/yade/+question/497350
De zhang posted a new comment:
Hi Jan,
I have tried the code you provided above in version(2018.02b). It also came out the error message as following:
###
ERROR /data/trunk/pkg/dem/STLImporter.cpp:23 import: Can't open file: tina.stl
** (python:7975): CRITICAL **: pygts_vertices_merge: assertion 'vertices
!= NULL' failed
(python:7975): Gts-CRITICAL **: gts_bb_tree_new: assertion 'bboxes != NULL' failed
Traceback (most recent call last):
File "/usr/bin/yadedaily", line 182, in runScript
execfile(script,globals())
File "stl2sphere.py", line 59, in <module>
pred = pack.inGtsSurface(surf)
RuntimeError: Could not create GTree
###
I also tried the other stl file which produced by scanning software, the same problem happened with "Can't open file: xxx.stl"
--
You received this question notification because your team yade-users is
an answer contact for Yade.