Difference between revisions of "ParaView/Python/Convert PLY to VTP"

From KitwarePublic
Jump to navigationJump to search
(added footer)
 
(No difference)

Latest revision as of 13:03, 5 January 2011

#!/usr/bin/pvpython

from paraview.simple import *

#read ply
reader = PLYReader(FileName="input.ply")

#write vtp
writer = XMLPolyDataWriter(reader, FileName="output.vtp")
writer.UpdatePipeline()



ParaView: [Welcome | Site Map]