[Paraview] vtkCutter
Heiland, Randy
heiland at iu.edu
Thu Oct 26 19:57:14 EDT 2017
Thanks very much, Cory! It did indeed (mostly) work for me. Wow, I continue to be amazed at PV. That was a super simple solution, thanks to the XML plugin option (and vtkContourTriangulator).
I say “mostly” because I had some intersecting spheres in my test case and the filter got a bit confused, but overall it was quite robust.
-Randy
> On Oct 26, 2017, at 11:18 AM, Cory Quammen <cory.quammen at kitware.com> wrote:
>
> On Thu, Oct 26, 2017 at 11:15 AM, Heiland, Randy <heiland at iu.edu <mailto:heiland at iu.edu>> wrote:
> Thanks! Before I start down that path, will this handle multiple, disjoint polylines? E.g., a plane slicing through 2 spheres; I just want to cap the sliced spheres.
>
> I'm about 95% sure it will. It is fairly robust IIRC.
>
> Cory
>> On Oct 26, 2017, at 11:10 AM, Cory Quammen <cory.quammen at kitware.com <mailto:cory.quammen at kitware.com>> wrote:
>>
>> There isn't a filter exposed in ParaView to do this. You could expose vtkContourTriangulator in an XML plugin [1] and apply that to the polyline created by the planar Slice through your polygonal geometry.
>>
>> Cory
>>
>> [1] https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#XML_Only <https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#XML_Only>
>>
>> On Thu, Oct 26, 2017 at 10:35 AM, Heiland, Randy <heiland at iu.edu <mailto:heiland at iu.edu>> wrote:
>> Yes, sorry I wasn’t clear.
>>
>>> On Oct 26, 2017, at 10:33 AM, Cory Quammen <cory.quammen at kitware.com <mailto:cory.quammen at kitware.com>> wrote:
>>>
>>> I'm not sure what you mean. Are you trying to clip some polygonal geometry with a plane and want to fill in the hole created with a polygon?
>>>
>>> On Thu, Oct 26, 2017 at 10:24 AM, Heiland, Randy <heiland at iu.edu <mailto:heiland at iu.edu>> wrote:
>>> Is there a property that lets me cap the results?
>>>
>>>> On Oct 26, 2017, at 10:18 AM, Cory Quammen <cory.quammen at kitware.com <mailto:cory.quammen at kitware.com>> wrote:
>>>>
>>>> Sounds like you want the Slice filter.
>>>>
>>>> On Thu, Oct 26, 2017 at 10:14 AM, Heiland, Randy <heiland at iu.edu <mailto:heiland at iu.edu>> wrote:
>>>> I’m not seeing the vtkCutter in the list of filters (well, perhaps the AMR CutPlane). If not, any advice on how to accomplish it for some polydata? https://www.paraview.org/Wiki/Python_Programmable_Filter <https://www.paraview.org/Wiki/Python_Programmable_Filter> ?
>>>>
>>>> Thanks!
>>>>
>>>> _______________________________________________
>>>> Powered by www.kitware.com <http://www.kitware.com/>
>>>>
>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html <http://www.kitware.com/opensource/opensource.html>
>>>>
>>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView <http://paraview.org/Wiki/ParaView>
>>>>
>>>> Search the list archives at: http://markmail.org/search/?q=ParaView <http://markmail.org/search/?q=ParaView>
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://public.kitware.com/mailman/listinfo/paraview <http://public.kitware.com/mailman/listinfo/paraview>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Cory Quammen
>>>> Staff R&D Engineer
>>>> Kitware, Inc.
>>>
>>>
>>>
>>>
>>> --
>>> Cory Quammen
>>> Staff R&D Engineer
>>> Kitware, Inc.
>>
>>
>>
>>
>> --
>> Cory Quammen
>> Staff R&D Engineer
>> Kitware, Inc.
>
>
>
>
> --
> Cory Quammen
> Staff R&D Engineer
> Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171026/dfedacf5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4035 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171026/dfedacf5/attachment.bin>
More information about the ParaView
mailing list