[vtkusers] Reading a .stl file

Cory Quammen cory.quammen at kitware.com
Wed Jun 24 10:05:25 EDT 2015


Anusha,

The file name will either need to be a file in the executing program's
current working directory, or you will need to provide a full path to
the file location.

The CMakeLists.txt file should be fine to copy without changes.

Best,
Cory

On Wed, Jun 24, 2015 at 10:01 AM, Anusha Balasubramoniam
<anushaba at buffalo.edu> wrote:
> Dear All,
>
> 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?
>
> Thank you,
> Anusha
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.


More information about the vtkusers mailing list