Hi Richard,

I'm cc'ing the mailing list so others can pitch in if needed.

Richard Binney wrote:
> I'm very new to Mayvi (using Mayavi and not mayavi2) and have almost 
> zero programming skills. I think the python shell is somewhere in my 
> Maya vi dir but cant find anything to launch a command window.

With Mayavi1.x you can't launch a command window from the mayavi app. 
You can launch mayavi from within a Python shell but I'm not sure that 
is what you are looking for.

Mayavi2 embeds the Python interpreter in the application but you aren't 
using it so it won't help here.

> I've managed to use the UI to make a great Figure but now I want to 
> animate it. I've been looking at the documentation but its all alien to 
> me. I dont even know where i enter the command lines. I've tried to 
> enter some into the command line box of say 'configure render window' 
> but this clearly isnt right as it just asks for names to be defined.

Yes, you cannot do this from the main UI.  The way to do this is 
described here:

http://mayavi.sourceforge.net/docs/guide/ch04.html

specifically look at this:

http://mayavi.sourceforge.net/docs/guide/ch04.html#viz-data

You basically have to enter the commands given there from a normal 
Python interpreter on a terminal window.

> Can someone offer me a very simple explanation of how to use these 
> commands and/or how to run an animation?

The same chapter above describes how to do this also. However, it does 
require some knowledge of Python.

> Also can I save it as a movie file? Or do I really need a function to 
> save multiple screenshots and collate these as a movie within another 
> program?

Unfortunately, that is correct, you need to collate these as a movie 
using another program.  ffmpeg is quite nice and there are a few recipes 
for this here:

http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/tips.html#making-movies-from-a-stack-of-images

Hope this helps.

cheers,
prabhu

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to