Hi Paul, >> 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) > > Sorry for not getting back to you earlier. > > I suspect that I created the mv file with an older version of MayaVi so that > you couldn't read it but didn't have time to test this. (Or the mv file is > just broken). > > In any case, once you have loaded the cantedvortex.vtk into MayaVi (and you > see nothing, that is normal), try to click on Modules->Velocity Vector. Do > you see something now?
in reply to my own email, some more details: I have now tested the file you mention (http://www.soton.ac.uk/~fangohr/software/ovf2vtk/example/cantedvortex.mv) and it loads fine with MayaVi 1.5 (on Debian Linux, stable=etch). Prabhu, can this have somehing to do with the fact that Paul runs this on Windows? It is probably not very important for him (as Paul now knows how to create visualisations from the vtk file directly), but it is still strange that this mv file seems not to work on Windows but on Linux. Thank you, Hans > > Best wishes, > > Hans > > >> >> 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, >> Paul >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> MayaVi-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/mayavi-users >> >> > > -- > Hans Fangohr > School of Engineering Sciences > University of Southampton > Phone: +44 (0) 238059 8345 > > Email: [EMAIL PROTECTED] > http://www.soton.ac.uk/~fangohr > > > > > > > -- Hans Fangohr School of Engineering Sciences University of Southampton Phone: +44 (0) 238059 8345 Email: [EMAIL PROTECTED] http://www.soton.ac.uk/~fangohr ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ MayaVi-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mayavi-users
