MayaVi question: opening vtk files generated by ovf2vtk
Paul Morrow <morrop <at> rpi.edu>
2007-09-18 15:20:35 GMT
Hi,
my name is Paul Morrow, and I am a graduate student in the physics
department at Rensselaer Polytechnic Institute in Troy, NY, USA. I have
been using the Nist-provided OOMMF micromagnetics software to generate
.omf files, and I would like to convert (via ovf2vtk) and view them in
MayaVI, but I have been having trouble getting this to work.
I followed the directions on the website
(http://www.soton.ac.uk/~fangohr/software/ovf2vtk.html#Download) for
"Enthought distribution of Python", PyVTK, and ovf2vtk (for Windows).
Then, I ran (successfully, I think) ovf2vtk to convert the sample
"cantedvortex.omf" file to .vtk format. Though the installation notes
say that MayaVi is installed with the "Enthought distribution", I
couldn't find it in my Start menu, so I installed it manually (v1.5 from
http://mayavi.sourceforge.net/). I was able to open the example
"heart.vk" (and "heart.mv") in MayaVi with no problems, but when I open
"cantedvortex.vtk", it doesn't look like any of the visualizations are
working (i.e., I cannot see any of the data). When I try to use MayaVi
to open "cantedvortex.mv" directly, I get this error:
Exception: C:\user\prabhu\MayaVi-1.5\Misc\LutHandler.py:242:SyntaxError:
invalid syntax (Line 1) (in load config)
I do not understand why the Mayavi example files (.vtk and .mv) will
open, but the sample files from the ovf2vtk site will not. If you have
any suggestions, I would be very grateful. If you need any other
information or if something is not clear please let me know.
Thank you for your time,
(Continue reading)