ParaView/Python/Convert PLY to VTP

From KitwarePublic
Jump to: navigation, search
#!/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]