>>>>> "yadin" == yadin Bocuma Rivas <[EMAIL PROTECTED]> writes:
yadin> hey haow can i polt structures with mayavi like lines,
yadin> squeres, cicrles, a belt, a cable... i need normal simple
yadin> examples
There are plenty of ways to do that. If you just want do draw simple
primitives in 3D you might be better served by using OpenGL to do the
job. If you want an easy way to do it from Python you can take a look
at VPython. You could also do it using the
enthought.tvtk.tools.visual module. If you look at the examples in
this directory:
https://svn.enthought.com/svn/enthought/branches/enthought.tvtk_2.0/examples
You'll see a directory called visual/ with a bunch of examples of how
to do this using tvtk.tools.visual. The Visual module is also
reasonably documented in the TVTKIntroduction in the TVTK wiki page:
https://svn.enthought.com/enthought/wiki/TVTKIntroduction
You can do this with MayaVi by creating a TVTK polygonal dataset
(polydata) to describe the primitives and then visualize this. This
is described in the making TVTK datasets presentation over here:
http://svn.enthought.com/enthought/wiki/MayaVi
HTH.
cheers,
prabhu
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users