Hi, To answer Hans: I am using MayaVi v1.5 for Windows. I am still in the early stages of running simulations, but if I get anything nice I would be glad to send you images.
Yes, I am also a bit curious why I can load the vtk files (my own converted vtk files and cantedvortex.vtk), but I cannot open the cantedvortex.mv file provided on the ovf2vtk site (either by loading from MayaVi or just double-clicking the mv file icon). Still, I can load the vtk's and create my own mv's, which do open just fine. To answer Richard: I am fairly certain that I addressed all of your suggestions for converting and loading the vtk, so I think my problem is related to the question you asked about whether the file path given in my error message exists--I am pretty sure that the file path is not valid. It looks like some code left over from having been run/generated/altered on a different machine...I think... To answer Prabhu: Thanks, I will try the conversion. I apologize, but this project is the first time I have worked with python--could you please clarify how to utilize the line changing tool (my first naive attempts haven't worked so far), in command line? Thank you to you all for your quick and clear responses--I appreciate the help! Paul Hans Fangohr wrote: > Hi Paul, > > have now tested the file -- works fine for me. Which version of MayaVi > are you using? > > Thanks, > > Hans > > > On 18 Sep 2007, at 20:13, Paul Morrow wrote: > >> Hi Hans, >> >> thank you for quick reply. Actually, I just (several minutes ago) >> re-installed all the associated programs and ran the conversion >> ovf2vtk again, on both my own omf files as well as the >> cantedvecter.omf file. It looks like they both converted to vtk >> correctly, and I can view them both in Mayavi--they look really nice. >> The mv file still won't load, but like you said--it may be corrupted >> or for an older version of MayaVi. >> >> thanks again! >> Paul >> >> >> >> >> >> Hans Fangohr wrote: >>> 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? >>> >>> 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 >>> >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> > > > > > > ------------------------------------------------------------------------- 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
