Re: [Paraview] PV4.10 extracting a surface

2017-12-21 Thread Sebastien Jourdain
Or two clip filter with scalar.

On Wed, Dec 20, 2017 at 11:03 PM, Andrew  wrote:

> Hello. Possibly the Slice filter with "Cylinder" and "Crinkle slice"
> options will produce the required result (I checked in ParaView 5.2).
>
> 2017-12-20 18:46 GMT+03:00 Andy Bauer :
>
>> The Threshold filter works by selecting cells that have cell data in the
>> selected range. If you're requesting to do thresholding on a point data
>> array then it will use the point data to cell data filter to create a cell
>> data array and threshold on that. With this, it's very unlikely that any
>> cell data ends up with exactly a value of .1. It sounds like what you want
>> is to use the Contour filter on your rad array.
>>
>> On Wed, Dec 20, 2017 at 10:32 AM, Utkarsh Ayachit <
>> utkarsh.ayac...@kitware.com> wrote:
>>
>>> I believe you're getting  the warning because the threshold ended up
>>> not producing any output. If you can attach the state/data file, I may
>>> be able to can give more info.
>>>
>>> Utkarsh
>>>
>>> On Wed, Dec 20, 2017 at 10:15 AM, Stephen Wornom
>>>  wrote:
>>> > The geometry is a cylinder.
>>> > Using the calculator I do
>>> > rad =sqrt( x**2+y**2)
>>> > I would like to extract the cylinder surface which is rad = 0.1
>>> > I click on threshold then information to see rad 0.1>> > I click on extract and enter the values min = 0.1 and max 0.1 for rad
>>> > I get this message
>>> > warning: In
>>> > /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuper
>>> build-Release/paraview/src/paraview/ParaViewCore/ServerManag
>>> er/Rendering/vtkSMPVRepresentationProxy.cxx,
>>> > line 279
>>> >
>>> > vtkSMPVRepresentationProxy (0x359fd080): Could not determine array
>>> range.
>>> >
>>> >
>>> > Any ideas to the solution of my problem?
>>> > Thanks in advance,
>>> > Stephen
>>> >
>>> > ___
>>> > 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:
>>> > https://paraview.org/mailman/listinfo/paraview
>>> >
>>> ___
>>> 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:
>>> https://paraview.org/mailman/listinfo/paraview
>>>
>>
>>
>> ___
>> 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:
>> https://paraview.org/mailman/listinfo/paraview
>>
>>
>
> ___
> 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:
> https://paraview.org/mailman/listinfo/paraview
>
>
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] PV4.10 extracting a surface

2017-12-20 Thread Andrew
Hello. Possibly the Slice filter with "Cylinder" and "Crinkle slice"
options will produce the required result (I checked in ParaView 5.2).

2017-12-20 18:46 GMT+03:00 Andy Bauer :

> The Threshold filter works by selecting cells that have cell data in the
> selected range. If you're requesting to do thresholding on a point data
> array then it will use the point data to cell data filter to create a cell
> data array and threshold on that. With this, it's very unlikely that any
> cell data ends up with exactly a value of .1. It sounds like what you want
> is to use the Contour filter on your rad array.
>
> On Wed, Dec 20, 2017 at 10:32 AM, Utkarsh Ayachit <
> utkarsh.ayac...@kitware.com> wrote:
>
>> I believe you're getting  the warning because the threshold ended up
>> not producing any output. If you can attach the state/data file, I may
>> be able to can give more info.
>>
>> Utkarsh
>>
>> On Wed, Dec 20, 2017 at 10:15 AM, Stephen Wornom
>>  wrote:
>> > The geometry is a cylinder.
>> > Using the calculator I do
>> > rad =sqrt( x**2+y**2)
>> > I would like to extract the cylinder surface which is rad = 0.1
>> > I click on threshold then information to see rad 0.1> > I click on extract and enter the values min = 0.1 and max 0.1 for rad
>> > I get this message
>> > warning: In
>> > /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuper
>> build-Release/paraview/src/paraview/ParaViewCore/
>> ServerManager/Rendering/vtkSMPVRepresentationProxy.cxx,
>> > line 279
>> >
>> > vtkSMPVRepresentationProxy (0x359fd080): Could not determine array
>> range.
>> >
>> >
>> > Any ideas to the solution of my problem?
>> > Thanks in advance,
>> > Stephen
>> >
>> > ___
>> > 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:
>> > https://paraview.org/mailman/listinfo/paraview
>> >
>> ___
>> 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:
>> https://paraview.org/mailman/listinfo/paraview
>>
>
>
> ___
> 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:
> https://paraview.org/mailman/listinfo/paraview
>
>
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] PV4.10 extracting a surface

2017-12-20 Thread Andy Bauer
The Threshold filter works by selecting cells that have cell data in the
selected range. If you're requesting to do thresholding on a point data
array then it will use the point data to cell data filter to create a cell
data array and threshold on that. With this, it's very unlikely that any
cell data ends up with exactly a value of .1. It sounds like what you want
is to use the Contour filter on your rad array.

On Wed, Dec 20, 2017 at 10:32 AM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:

> I believe you're getting  the warning because the threshold ended up
> not producing any output. If you can attach the state/data file, I may
> be able to can give more info.
>
> Utkarsh
>
> On Wed, Dec 20, 2017 at 10:15 AM, Stephen Wornom
>  wrote:
> > The geometry is a cylinder.
> > Using the calculator I do
> > rad =sqrt( x**2+y**2)
> > I would like to extract the cylinder surface which is rad = 0.1
> > I click on threshold then information to see rad 0.1 > I click on extract and enter the values min = 0.1 and max 0.1 for rad
> > I get this message
> > warning: In
> > /home/utkarsh/Dashboards/MyTests/NightlyMaster/
> ParaViewSuperbuild-Release/paraview/src/paraview/
> ParaViewCore/ServerManager/Rendering/vtkSMPVRepresentationProxy.cxx,
> > line 279
> >
> > vtkSMPVRepresentationProxy (0x359fd080): Could not determine array range.
> >
> >
> > Any ideas to the solution of my problem?
> > Thanks in advance,
> > Stephen
> >
> > ___
> > 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:
> > https://paraview.org/mailman/listinfo/paraview
> >
> ___
> 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:
> https://paraview.org/mailman/listinfo/paraview
>
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] PV4.10 extracting a surface

2017-12-20 Thread Utkarsh Ayachit
I believe you're getting  the warning because the threshold ended up
not producing any output. If you can attach the state/data file, I may
be able to can give more info.

Utkarsh

On Wed, Dec 20, 2017 at 10:15 AM, Stephen Wornom
 wrote:
> The geometry is a cylinder.
> Using the calculator I do
> rad =sqrt( x**2+y**2)
> I would like to extract the cylinder surface which is rad = 0.1
> I click on threshold then information to see rad 0.1 I click on extract and enter the values min = 0.1 and max 0.1 for rad
> I get this message
> warning: In
> /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/ParaViewCore/ServerManager/Rendering/vtkSMPVRepresentationProxy.cxx,
> line 279
>
> vtkSMPVRepresentationProxy (0x359fd080): Could not determine array range.
>
>
> Any ideas to the solution of my problem?
> Thanks in advance,
> Stephen
>
> ___
> 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:
> https://paraview.org/mailman/listinfo/paraview
>
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] PV4.10 extracting a surface

2017-12-20 Thread Stephen Wornom
Forgot to mention that the mesh is 3D x,y,z. 
rad =sqrt( x**2+y**2) thus varies with the z-coordinate. 
Stephen 
- Original Message -

> From: "Stephen Wornom" <stephen.wor...@inria.fr>
> To: "ParaView" <paraview@paraview.org>
> Sent: Wednesday, December 20, 2017 4:15:43 PM
> Subject: [Paraview] PV4.10 extracting a surface

> The geometry is a cylinder.
> Using the calculator I do
> rad =sqrt( x**2+y**2)
> I would like to extract the cylinder surface which is rad = 0.1
> I click on threshold then information to see rad 0.1<rad<7
> I click on extract and enter the values min = 0.1 and max 0.1 for rad
> I get this message
> w arning: In
> /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/ParaViewCore/ServerManager/Rendering/vtkSMPVRepresentationProxy.cxx,
> line 279

> vtkSMPVRepresentationProxy (0x359fd080): Could not determine array range.
> Any ideas to the solution of my problem?
> Thanks in advance,
> Stephen

> ___
> 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:
> https://paraview.org/mailman/listinfo/paraview
___
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:
https://paraview.org/mailman/listinfo/paraview


[Paraview] PV4.10 extracting a surface

2017-12-20 Thread Stephen Wornom
The geometry is a cylinder. 
Using the calculator I do 
rad =sqrt( x**2+y**2) 
I would like to extract the cylinder surface which is rad = 0.1 
I click on threshold then information to see rad 0.1