[vtkusers] snap vtk to stl conversion
Dominik Szczerba
domi at vision.ee.ethz.ch
Thu Jul 20 07:31:31 EDT 2006
use vtkStructuredPointsReader pr instead
--ds
alves.scarparo at libero.it wrote:
> 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
> http://click.libero.it/dmail
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
--
Dominik Szczerba, Ph.D.
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi
More information about the vtkusers
mailing list