← Back to team overview

yade-dev team mailing list archive

[Bug 576139] Re: stl import does not work

 

It was just that I added initialization of Facet::vertices to have size
3, but the STLReader was doing 3x push_back, assuming new Facet has 0
vertices (as it used to be). So new Facets had 6 vertices, but the first
3 were uninitialized and the next 3, which were never used, had the
right values in them.

-- 
stl import does not work
https://bugs.launchpad.net/bugs/576139
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: Fix Released

Bug description:
yade version: bzr 2203
ubuntu karmic 9.04

the following message appears when trying to import stl meshes

FATAL yade.Facet /home/sch50p/YADE-bzr/yade/pkg/common/DataClass/Shape/Facet.cpp:23 postProcessAttributes: Facet has coincident vertices 2 (0 0 0) and 0 (0 0 0)!

YADE does not crash, but facets related to the mesh do not appear.

find out with /examples/baraban.py





References