Re: [MayaVi-users] mayavi module
Status: Beta
Brought to you by:
prabhu_r
|
From: Prabhu R. <pr...@ae...> - 2009-05-03 10:07:37
|
Håkan Jakobsson wrote: > Hi, > > I read on the mayavi website that it is possible to write own modules > to mayavi. My research group is looking to write a simple graphical > tool used to apply boundary conditions etc to geometries defined > by .poly files. The data would be saved in an xml file, read by our > solvers. Is it possible to write such a module to mayavi? Yes, I think it is possible to do so. I would recommend doing this with mayavi2 (and posting questions on ent...@ma... in addition). Your strategy would be to learn a little of traits and TraitsUI http://code.enthought.com/projects/traits/ Then understand how to create a simple module with mayavi2. The mayavi2 user guide should give you a reasonable start: http://code.enthought.com/projects/mayavi Then you should have a good idea of what kind of UI you want to provide for your module and how you want people to interact with your module to provide the boundary condition information and then implement it. At this point you'll also need to learn a little VTK to understand things a little better. HTH. cheers, prabhu |