[Paraview] [EXTERNAL] Re: Volume and the Find Data or Calculator

Scott, W Alan wascott at sandia.gov
Wed Jan 14 10:58:37 EST 2015


Would it be possible to add volume calculation/retrieval to the GUI calculator?  I hear a need for this functionality fairly frequently, including from non Python folks.  

Regarding making function discovery and use easy for the Python Calculator, see this as an equally useful functionality to the trace recorder.  I.e., somewhat game changing.  

Alan

-----Original Message-----
From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] 
Sent: Wednesday, January 14, 2015 6:29 AM
To: Scott, W Alan
Cc: paraview at paraview.org
Subject: Re: [EXTERNAL] Re: [Paraview] Volume and the Find Data or Calculator

The native GUI calculator doesn't support such features. We created the Python calculator to a support such functions with ease. We should investigate making function discovery easy for the Python calculator for sure.

Utkarsh

On Mon, Jan 12, 2015 at 7:34 PM, Scott, W Alan <wascott at sandia.gov> wrote:
> Sweet!  Thanks, I have been asked for that for ages.
>
> So, why isn't that natively in the GUI calculator?  Is the calculator where it belongs?  Mind if I add a feature request, targeted for 4.4?
>
> Alan
>
> -----Original Message-----
> From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com]
> Sent: Monday, January 12, 2015 7:54 PM
> To: Scott, W Alan
> Cc: paraview at paraview.org
> Subject: [EXTERNAL] Re: [Paraview] Volume and the Find Data or 
> Calculator
>
> Try "volume(inputs[0])" as the expression for Python calculator to compute a "Cell Data" result. That should give you volume for each cell in the dataset.
>
> On Mon, Jan 12, 2015 at 6:48 PM, Scott, W Alan <wascott at sandia.gov> wrote:
>> Is it possible to find the volume of each cell, and create a new 
>> variable with this information?
>>
>> Thanks,
>>
>> Alan
>>
>>
>>
>> _______________________________________________
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>>


More information about the ParaView mailing list