Re: [Paraview] animation + python

2009-08-31 Thread Utkarsh Ayachit
 Question :
 *Is the integration with the GUI a planned feature?
Yes.

 *Should I add a feature request?
That'd be great. Having things on the bug trackers ensures that we
come across it as we are planning for the next release.

Utkarsh
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] animation + python

2009-08-28 Thread Jean M. Favre
Stephane PLOIX wrote:
 Hi,
 
 At the end of the python scripting wiki page 
 (http://paraview.org/Wiki/ParaView/Python_Scripting), you give an example 
 on how to create an animation via python.
 
 However, this animation is not visible in the Animation View, and I did 
 not find how to save the images to create a film. 


 *How to dump the animation to images with the scene.Play method? 

the answer lies in the source code of servermanager.py

Add these 5 lines to your code:

writer = servermanager.vtkSMAnimationSceneImageWriter()
writer.SetFileName(/tmp/foo.jpg)
writer.SetFrameRate(1)
writer.SetAnimationScene(scene.SMProxy)
writer.Save()

Jean--
Swiss National Supercomputing Center
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview