<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Unfortunally, so far nothing worked for me. I tested the vtkLoopBooleanPolyDataFilter as well as cleaned my input meshes but nothing changed... . Any further ideas? Thank you so much.
<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Dienstag, 19. September 2017 um 04:30 Uhr<br/>
<b>Von:</b> "Bill Lorensen" <bill.lorensen@gmail.com><br/>
<b>An:</b> "Maximilian Weiherer" <weiherer.maximilian@gmx.de><br/>
<b>Cc:</b> "Cory Quammen" <cory.quammen@kitware.com>, "VTK Users" <vtkusers@vtk.org><br/>
<b>Betreff:</b> Re: [vtkusers] vtkBooleanOperationPolyDataFilter - final result is not manifold</div>

<div name="quoted-content">Your input meshes should also be cleaned. Also you could try<br/>
vtkLoopBooleanPolyDataFilter.<br/>
<br/>
Here are examples that use each method:<br/>
<br/>
<a href="https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/LoopBooleanPolyDataFilter/" target="_blank">https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/LoopBooleanPolyDataFilter/</a><br/>
<br/>
<a href="https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/BooleanOperationPolyDataFilter/" target="_blank">https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/BooleanOperationPolyDataFilter/</a><br/>
<br/>
On Mon, Sep 18, 2017 at 2:16 PM, Maximilian Weiherer<br/>
<weiherer.maximilian@gmx.de> wrote:<br/>
> Hi Cory,<br/>
><br/>
> thank you very much for your reply. I tested the vtkCleanPolyData filter (as it merges duplicate points, and/or removes unused points and/or removes degenerate cells). It still get a mesh that is not manifold. I visualized that with help of Meshlab and attached it. The red cells are not manifold (selected via Meshlab's Filters > Cleaning and Repairing > Select non Manifold Edges).<br/>
><br/>
> Thanks again!<br/>
><br/>
> Best regards,<br/>
> Maximilian<br/>
><br/>
> -----Ursprüngliche Nachricht-----<br/>
> Von: Cory Quammen [mailto:cory.quammen@kitware.com]<br/>
> Gesendet: Montag, 18. September 2017 15:27<br/>
> An: Maximilian Weiherer <weiherer.maximilian@gmx.de><br/>
> Cc: vtkusers@vtk.org<br/>
> Betreff: Re: [vtkusers] vtkBooleanOperationPolyDataFilter - final result is not manifold<br/>
><br/>
> Maximimilan,<br/>
><br/>
> Have you tried to use vtkMergePoints after vtkAppendPolyData or vtkBooleanOperationPolyDataFilter? This filter merges duplicate points, which I suspect is the step that you are missing to produce a watertight mesh.<br/>
><br/>
> HTH,<br/>
> Cory<br/>
><br/>
><br/>
> On Mon, Sep 18, 2017 at 5:08 AM, Maximilian Weiherer <weiherer.maximilian@gmx.de> wrote:<br/>
>> Hi everyone,<br/>
>><br/>
>> I'm struggling with the vtkBooleanOperationPolyDataFilter. First, I'm<br/>
>> computing the difference D between two vtkPolyData objects, say A and<br/>
>> B (this is D := {A\B}). After that, I want to append the resulting<br/>
>> difference D to B, i.e. make the union of these two meshes. Therefore,<br/>
>> I'm using the vtkAppendPolyData filter. However, the final result is<br/>
>> not manifold (which is necessary in order to print the mesh). I also<br/>
>> tried the vtkBooleanOperationPolyDataFilter with the union operation<br/>
>> but the problem still remains - the final result is not manifold and<br/>
>> therefore not printable. How can I append these two meshes so that<br/>
>> these are manifold and thus watertight (and printable)?<br/>
>><br/>
>> Any help would be appreciated. Thanks!<br/>
>><br/>
>> Best regards<br/>
>> Maximilian<br/>
>><br/>
>> _______________________________________________<br/>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br/>
>><br/>
>> Visit other Kitware open-source projects at<br/>
>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br/>
>><br/>
>> Please keep messages on-topic and check the VTK FAQ at:<br/>
>> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br/>
>><br/>
>> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br/>
>><br/>
>> Follow this link to subscribe/unsubscribe:<br/>
>> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br/>
>><br/>
><br/>
><br/>
><br/>
> --<br/>
> Cory Quammen<br/>
> Staff R&D Engineer<br/>
> Kitware, Inc.<br/>
><br/>
><br/>
> ---<br/>
> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.<br/>
> <a href="https://www.avast.com/antivirus" target="_blank">https://www.avast.com/antivirus</a><br/>
><br/>
> _______________________________________________<br/>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br/>
><br/>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br/>
><br/>
> Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br/>
><br/>
> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br/>
><br/>
> Follow this link to subscribe/unsubscribe:<br/>
> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br/>
><br/>
<br/>
<br/>
<br/>
--<br/>
Unpaid intern in BillsBasement at noware dot com</div>
</div>
</div>
</div></div></body></html>