ParaView/Python/Convert PLY to VTP

From KitwarePublic
< ParaView
Revision as of 13:03, 5 January 2011 by Daviddoria (talk | contribs) (moved Convert a File from PLY to VTP to ParaView/Python/Convert PLY to VTP)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to 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]