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

From KitwarePublic
Jump to navigationJump to search
(added footer)
(No difference)

Revision as of 13:03, 5 January 2011

<source lang="python">

  1. !/usr/bin/pvpython

from paraview.simple import *

  1. read ply

reader = PLYReader(FileName="input.ply")

  1. write vtp

writer = XMLPolyDataWriter(reader, FileName="output.vtp") writer.UpdatePipeline() </source>


ParaView: [Welcome | Site Map]