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

From KitwarePublic
Jump to navigationJump to search
(New page: <source lang="python"> #!/usr/bin/pvpython from paraview.simple import * #read ply reader = PLYReader(FileName="input.ply") #write vtp writer = XMLPolyDataWriter(reader, FileName="outpu...)
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<source lang="python">
{{ParaView/Template/DeprecatedUsersGuide}}
#!/usr/bin/pvpython


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

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]