[Paraview] [*] Re: Visualizations works converted to python code

rhushabh at iitk.ac.in rhushabh at iitk.ac.in
Thu Jul 1 02:37:57 EDT 2010


Hi,
Thanks for the previous help... it has reduced my work to a great extent.

Please could you help me in 2 more situations..

One: I have made some color schemes with fixed colors for different values
ranges and few with different opacity.
So how Do i use these user defined color schemes. (By exporting? and
further steps?)
Other half is that I want to use them on all my images. But the lower n
upper limits of pixel values differ and if i rescale the color scheme, the
ranges will change around center values (say near 0 to 1). Is there a
better option.


Second: Please could you tell me an option for: The user gives me input
file locations and the output will be the image being opened by paraview
with different filters and rescaling applied on it.

Thank You in advance.
Regards
Rhushabh



> ParaView supports tracing your actions into Python as your are doing
> them in the GUI as well as save the current state in a python script.
> Refer to http://www.paraview.org/Wiki/Python_GUI_Tools for details.
>
> Utkarsh
>
> On Tue, Jun 29, 2010 at 7:55 AM,  <rhushabh at iitk.ac.in> wrote:
>> Hi,
>> I am working on a set of images and have to carry out many filters and
>> changes in the color schemes before taking a snapshot of it.
>> Can we get our work converted into python code? ...
>> or is the work stored into some python file when we work already?
>> so that we can only change the input file name and run the code on the
>> python shell
>> As our work has been completed already ,so this would be very helpful to
>> run it on multiple files.
>>
>> One more doubt : how do we use the exported color scheme in paraview
>> from
>> python shell ?
>>
>> Thank You in advance
>>
>> Rhushabh Bhandari
>> _______________________________________________
>> 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
>>
>



More information about the ParaView mailing list