[vtkusers] Reading a .stl file

Sean McBride sean at rogue-research.com
Thu Jun 25 11:04:28 EDT 2015


On Wed, 24 Jun 2015 10:01:09 -0400, Anusha Balasubramoniam said:

>I am trying to read a .stl file. So to start with the code :
>http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadSTL
>
>The portion highlighted in red has the name of the file. But apart from
>that does the file have to be in the same folder where all the code is
>stored? Or it can be any file on the computer.
>
>Kindly let me know. And apart from that, the CMakeList.txt can be copied
>from the link above? No changes have to be made?

With which version of VTK?  There was an STL reading regression that was fixed some weeks ago that may be affecting you...

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the vtkusers mailing list