#!/usr/bin/env python


import sys

import vtk



reader = vtk.vtkGenericDataObjectReader ()
reader.SetFileName (sys.argv[1]);


geom = vtk.vtkGeometryFilter()
geom.SetInput (reader.GetOutput());


polyW = vtk.vtkPolyDataWriter ()
polyW.SetFileTypeToASCII ()
polyW.SetInput (geom.GetOutput())
polyW.SetFileName (sys.argv[2])
polyW.Write()








08b646cdc43a7157d1407bb9343820dcb4c4e957
<mask token>

<mask token>
reader.SetFileName(sys.argv[1])
<mask token>
geom.SetInput(reader.GetOutput())
<mask token>
polyW.SetFileTypeToASCII()
polyW.SetInput(geom.GetOutput())
polyW.SetFileName(sys.argv[2])
polyW.Write()

<mask token>
reader = vtk.vtkGenericDataObjectReader()
reader.SetFileName(sys.argv[1])
geom = vtk.vtkGeometryFilter()
geom.SetInput(reader.GetOutput())
polyW = vtk.vtkPolyDataWriter()
polyW.SetFileTypeToASCII()
polyW.SetInput(geom.GetOutput())
polyW.SetFileName(sys.argv[2])
polyW.Write()

import sys
import vtk
reader = vtk.vtkGenericDataObjectReader()
reader.SetFileName(sys.argv[1])
geom = vtk.vtkGeometryFilter()
geom.SetInput(reader.GetOutput())
polyW = vtk.vtkPolyDataWriter()
polyW.SetFileTypeToASCII()
polyW.SetInput(geom.GetOutput())
polyW.SetFileName(sys.argv[2])
polyW.Write()

#!/usr/bin/env python


import sys

import vtk



reader = vtk.vtkGenericDataObjectReader ()
reader.SetFileName (sys.argv[1]);


geom = vtk.vtkGeometryFilter()
geom.SetInput (reader.GetOutput());


polyW = vtk.vtkPolyDataWriter ()
polyW.SetFileTypeToASCII ()
polyW.SetInput (geom.GetOutput())
polyW.SetFileName (sys.argv[2])
polyW.Write()







