ParaView/Python/Convert PLY to VTP: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(added footer)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<source lang="python">
{{ParaView/Template/DeprecatedUsersGuide}}
#!/usr/bin/pvpython


from paraview.simple import *
#read ply
reader = PLYReader(FileName="input.ply")
#write vtp
writer = XMLPolyDataWriter(reader, FileName="output.vtp")
writer.UpdatePipeline()
</source>
{{ParaView/Template/Footer}}
{{ParaView/Template/Footer}}

Latest revision as of 18:45, 24 June 2024

PAGE DELETED
The Paraview's User Guide and Reference Manual have been moved from the Wiki to The ParaView Guide. Please use the history if you want to access the old version of this document.



ParaView: [Welcome | Site Map]