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 [email protected] 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 ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ MayaVi-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mayavi-users
