[Paraview] question about programmable filter
Cory Quammen
cory.quammen at kitware.com
Mon Aug 7 09:14:35 EDT 2017
Sergey,
While Aron is correct about learning how to do Python scripting of the
ParaView application via tracing, doing so won't necessarily help you write
a Programmable Filter, which operates entirely without knowing that it is
executing inside of ParaView. Tracing doesn't record the internal VTK
operations that you would need to write in a programmable filter. Instead,
it records the ParaView-level execution, which is higher level.
Someone may help you with the filter if you provide a starting point
showing what you tried and describing how it doesn't work. It is much less
likely that someone will just write the filter for you.
Best,
Cory
On Sat, Aug 5, 2017 at 1:19 PM, Aron Helser <aron.helser at kitware.com> wrote:
> Sergey,
> A good way to start writing something in Python is to use the 'start
> trace' in the Tools menu in ParaView. If you can perform the operation you
> want with the GUI in ParaView, this will show equivalent Python commands to
> perform those operations.
> Regards,
> Aron
>
> On Sat, Aug 5, 2017 at 4:24 AM, Сергей Михайлов via ParaView <
> paraview at paraview.org> wrote:
>
>> Hello!
>>
>> We have the following 3D object:
>>
>> I want to left cylinder in the center of the object and delete another
>> part of the object. The result of such operation is cylinder.
>>
>> Help me please write a programmable filter (in Python) to perform this
>> modification in the object.
>>
>>
>>
>>
>>
>> Best regards, Sergey
>>
>>
>>
>> ------------------------------
>>
>> ------------------------------
>>
>> ------------------------------
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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
>
>
--
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170807/4f0a7c01/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 143984 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170807/4f0a7c01/attachment.png>
More information about the ParaView
mailing list