[Paraview] Cannot Automate Vectors with Python and CSV Files
Darren Pereira
darren.pereira at mail.utoronto.ca
Tue May 13 14:46:53 EDT 2014
Hey there,
I'm working on displaying velocity vectors but have reached a major roadblock. I have a set of CSV files with columns x, y, z, vx, vy, and vz - the positions and velocity components of the velocity vectors I want to show. By manually loading in the CSV files, applying the TableToPoints filter, applying the Calculator filter, and then applying the Glyph filter, I can display these vectors.
The problem comes when I try to write a Python script to the exact same thing. This problem has been reported as a bug with Paraview (http://vtk.org/Bug/bug_relationship_graph.php?bug_id=14184&graph=dependency), where Python cannot select "Row Data". I'm really having difficulty finding a way around it. Is there a way to use my CSV files to display my velocity vectors in a similar fashion, but with Python? What I've done manually is so far the only way I know how to display vectors, but it's not Python compatible. Any help would be greatly appreciated!
Thanks,
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140513/d0aecb03/attachment.html>
More information about the ParaView
mailing list