[Paraview] Bug in ExtractBlock?

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Nov 8 12:55:05 EST 2011


Beware MergeBlocks will convert the curvilinear grid to an unstuctured grid!

Utkarsh

On Tue, Nov 8, 2011 at 12:53 PM, David E DeMarle
<dave.demarle at kitware.com> wrote:
> Actually, a better solution is to apply the Merge Blocks filter after
> the Extract Block filter. Then you shouldn't have to save and reopen.
>
> But to answer your question, save it as a vtm file and then open up
> the directory pointed to by the .vtm file and open up the one vtk file
> inside.
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
>
> On Tue, Nov 8, 2011 at 12:43 PM, Fred Fred <stan1313 at hotmail.fr> wrote:
>> Hmmm, how do you do it?
>> If I use the Save Data submenu, I am asked to save it as a multi-block
>> dataset and, as expected, I get back a multiblock dataset when I read it
>> again!
>>
>>> From: dave.demarle at kitware.com
>>> Date: Tue, 8 Nov 2011 07:20:47 -0500
>>> Subject: Re: [Paraview] Bug in ExtractBlock?
>>> To: utkarsh.ayachit at kitware.com
>>> CC: stan1313 at hotmail.fr; paraview at paraview.org
>>>
>>> A work around is to write out the data and read it back in.
>>>
>>> David E DeMarle
>>> Kitware, Inc.
>>> R&D Engineer
>>> 21 Corporate Drive
>>> Clifton Park, NY 12065-8662
>>> Phone: 518-881-4909
>>>
>>>
>>>
>>> On Tue, Nov 8, 2011 at 7:15 AM, Utkarsh Ayachit
>>> <utkarsh.ayachit at kitware.com> wrote:
>>> > Nope, that's expected behavior. ExtractBlock will always still produce
>>> > a multi-block dataset. Without going too much into details, the
>>> > requirements of VTK pipeline make it tricky to write a filter that
>>> > produces a structured data-set from by extracting a block from a input
>>> > composite dataset.
>>> >
>>> > On Mon, Nov 7, 2011 at 6:38 AM, Fred Fred <stan1313 at hotmail.fr> wrote:
>>> >> Hello,
>>> >> I have a dataset that is actually a multi-block with just a single
>>> >> curvilinear block and I would like to convert it in a simple
>>> >> curvilinear
>>> >> dataset. I expected that ExtractBlock would make the job, since it is
>>> >> supposed to delete the umbrella structure when just a single block
>>> >> remains
>>> >> and the Prune Output option is selected, which is teh default BTW.
>>> >> But the output is exactly the same as the input.
>>> >> Bug of the ExtractBlock implementation?
>>> >> Configuration: ParaView-3.10.1 64 bits Mac OsX Snow Leopard
>>> >>
>>> >> _______________________________________________
>>> >> 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
>>> >>
>>> >>
>>> > _______________________________________________
>>> > 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