[vtkusers] snap vtk to stl conversion

alves.scarparo at libero.it alves.scarparo at libero.it
Thu Jul 20 05:55:25 EDT 2006

I'm a new newby in VTK and TCL.
I'm trying to write a tcl small program to convert snap vtk created files to STL files.

I use 

vtkPolyDataReader pr
pr SetFileName infile.vtk
vtkSTLWriter pdw
pdw SetInput [pr GetOutput]
pdw SetFileName outfile.stl
pdw Write

but get this error:
vtkPolyDataReader (0039EF00): Cannot read dataset type: structured_points

Probably I need to convert structured points to normal polyData and then use stlWriter.
How can I do this?

Il primo circolatore d'aria! Vornado riduce i costi e migliora il clima nelle case, rendendo la temperatura gradevole

More information about the vtkusers mailing list