ParaView/Python/Convert PLY to VTP

From KitwarePublic
< ParaView
Revision as of 15:15, 29 September 2009 by Utkarsh (talk | contribs) (added footer)
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]