[Paraview] load obj file and display via Paraview python shell

Li Guan li.9uan at gmail.com
Tue Dec 4 17:15:42 EST 2012


Hi guys,

I am trying to load a wavefront obj file into paraview and display it using
only python shell scripts.

I searched online and only find
http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadOBJ
This is vtk C++ code, and I am trying to convert them to python script. I
got stuck at trying to find the correct way to initiate a
vtkPolyDataMapper... I wonder if there is some similar example to load such
model using only python shell commands.

Many thanks in advance,

Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121204/e3f0fb88/attachment.htm>


More information about the ParaView mailing list