[Paraview] python script to rotate a view (UNCLASSIFIED)

Su, Simon M CTR USARMY ARL (US) simon.m.su.ctr at mail.mil
Wed Jul 9 15:38:04 EDT 2014


Classification: UNCLASSIFIED
Caveats: NONE

Hi Utkarsh,

Thank you.... it worked.....

Great... I am looking forward to the improved python tracing...

Thanks
-simon

-----Original Message-----
From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com]
Sent: Wednesday, July 09, 2014 3:21 PM
To: Su, Simon M CTR USARMY ARL (US)
Cc: paraview at paraview.org
Subject: Re: [Paraview] python script to rotate a view (UNCLASSIFIED)

Attached is a sample. For the most part it was obtained by using the "tracing" 
capabilities and adding a camera orbit animation. There's a bug in the tracing 
code that is missed the adding of KeyFrames to the
CameraAnimationCue1 proxy as indicated in the script.

BTW, we are working on revamping the Python tracing entirely to better trace 
the user actions as well as produce more readable scripts.

Utkarsh

On Wed, Jul 9, 2014 at 2:06 PM, Su, Simon M CTR USARMY ARL (US) 
<simon.m.su.ctr at mail.mil> wrote:
> Classification: UNCLASSIFIED
> Caveats: NONE
>
> Hello,
>
> If I open up ParaView and Source->Box, I will get a box in the view.
> Is there an example python script that will allow me to rotate my view
> around the box? I will eventually add this to animation rendering of a
> more complicated dataset.
>
> Any help is much appreciated...
>
> Thanks
> -simon
>
> Classification: UNCLASSIFIED
> Caveats: NONE
>
>
>
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/paraview
>

Classification: UNCLASSIFIED
Caveats: NONE


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5633 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20140709/d2fd1fd9/attachment.bin>


More information about the ParaView mailing list