[vtkusers] Problems about export STL file

An Jiye an_jiye at hotmail.com
Mon Mar 8 19:59:43 EST 2004


Hi.

I use vtkMarchingCubes to extract an isosurface from a series of input
images. Now I want to save the result to an ASCII STL file. It works well on
my machine. It is like this:

.. ...
 facet normal 0 0 1
  outer loop
   vertex -6.5625 -111.563 -10
   vertex -5.625 -112.5 -10
   vertex -5.625 -111.563 -10
  endloop
 endfacet
 facet normal 0 0 1
  outer loop
   vertex -4.6875 -112.5 -10
   vertex -4.6875 -111.563 -10
   vertex -5.625 -112.5 -10
  endloop
 endfacet
.. ...


But when goes to others' machine, I get the following result:

.. ...
 facet normal 0 0 -1
 facet normal 0 0 -1
 facet normal 0 0 -1
 facet normal 0 0 -1
 facet normal 0 0 -1
 facet normal 0 0 -1
 facet normal 0 0 -1
 facet normal 0 0 -1
.. ...

Can anyone give me some idea about why this happen? And how to solve this
problem?

Thank you in advance.

Best Regards,
An Jiye




More information about the vtkusers mailing list