>>>>> "Martin" == Martin Weier <[EMAIL PROTECTED]> writes:
Martin> I am thinking about writing some extensions to Mayavi2,
Martin> including a module that allows me to open data from a hdf5
Martin> file . Is there a way to add them to Mayavi without
Martin> modifying the mayavi_plugin_definition.py. Maybe there is
Martin> the possibility to write my own script to start up Mayavi2
Martin> with my new plugin definitions. I hope somebody can help
Martin> me.
Right now you must modify the mayavi_ui_plugin_definition.py to add
new menu items. In the near future I plan to add support for a user
defined module (say .mayavi2/user_actions.py) where the user can
provide user defined WorkbenchActionSets (or UIActions) that will be
automatically injected into the application.
However, if all you want to do is be able to read the HDF files and
view that data with m2, you may do so by importing your source module
and then calling mayavi.add_source() (or something else depending on
how you want to do it). If you need more details on how to do this
please take a look at any of the examples in the examples/ directory.
Replace the standard source import with your own module and use that.
It should work.
cheers,
prabhu
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users