<div dir="ltr">Hi Gerrick,<div class="gmail_extra"><br></div><div class="gmail_extra">If it&#39;s polyhedral cells, then yes, a bug is a definite possibility.  Gathering info from other poly users is the right way to go.  Sorry that I can&#39;t be of more help, but I haven&#39;t used poly cells myself.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">  David</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 6, 2013 at 12:47 PM, Gerrick Bivins <span dir="ltr">&lt;<a href="mailto:Gerrick.Bivins@halliburton.com" target="_blank">Gerrick.Bivins@halliburton.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Bill,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">For some reason it took a couple of tries to get that one through. Maybe attachement size was too big but it made it to the nabble list:<u></u><u></u></span></p>


<p class="MsoNormal"><a href="http://vtk.1045678.n5.nabble.com/vtkCutter-leaves-quot-gaps-quot-tt5724617.html" target="_blank">http://vtk.1045678.n5.nabble.com/vtkCutter-leaves-quot-gaps-quot-tt5724617.html</a><u></u><u></u></p>


<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">David, <u></u><u></u></p>
<p class="MsoNormal">Right, it feels like a bug in polyhedron cells.<u></u><u></u></p>
<p class="MsoNormal">My data was pretty simple, a block with poly cells a with varying thickness and width.<u></u><u></u></p>
<p class="MsoNormal">Definitely no holes. I probably can’t send it along but<u></u><u></u></p>
<p class="MsoNormal">note there was just recently a post (probably minutes before my “BUMP” made it through) about a very similar issue:<u></u><u></u></p>
<p class="MsoNormal"><a href="http://vtk.1045678.n5.nabble.com/Bug-in-slice-and-clip-for-mesh-containing-VTK-POLYHEDRON-cells-tt5724879.html" target="_blank">http://vtk.1045678.n5.nabble.com/Bug-in-slice-and-clip-for-mesh-containing-VTK-POLYHEDRON-cells-tt5724879.html</a><u></u><u></u></p>


<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal">It also has a problematic model attached.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Gerrick<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> David Gobbi [mailto:<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>]
<br>
<b>Sent:</b> Friday, December 06, 2013 12:42 PM<br>
<b>To:</b> Gerrick Bivins<br>
<b>Cc:</b> Bill Lorensen; <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
<b>Subject:</b> Re: [vtkusers] vtkCutter leaves &quot;gaps&quot;<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi Gerrick,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The cutter algorithm is fairly straightforward, it just creates a new point along each edge that is intersected by the plane.  Then it uses its knowledge about the connectivity of the original cells to join the new points together to create
 new cells.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The only problem I&#39;ve ever seen with vtkCutter is the fact that its locator is limited by numerical precision: it might think two cells share an edge when in fact the edges are just very, very close to each other.  But the result of this
 is that gaps are closed, not created.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">In response to the question about whether I&#39;ve ever seen vtkCutter create gaps where no gaps exist in the original data, I&#39;d have to say no.  That&#39;s not to say that it could never happen.  The vtkCutter delegates the &quot;cutting&quot; to the Contour
 methods of the various cell classes, so it is possible that your data uses a cell type with a buggy Contour implementation.  If that is the case, it would be good to know the details of your data so that someone can investigate, but my first suspicion is that
 the gaps are present in your original data.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">  David<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Fri, Dec 6, 2013 at 11:13 AM, Bill Lorensen &lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt; wrote:<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I do not see the attachment/<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">On Fri, Dec 6, 2013 at 12:50 PM, Gerrick Bivins &lt;<a href="mailto:Gerrick.Bivins@halliburton.com" target="_blank">Gerrick.Bivins@halliburton.com</a>&gt; wrote:<u></u><u></u></p>
</div>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:#1f497d">I realized I sent this at a time when most people were probably offline.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d">Just a “BUMP” in case this got missed.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d">Anyone have any ideas here?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d">Gerrick</span><u></u><u></u></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a> [mailto:<a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a>]
<b>On Behalf Of </b>Gerrick Bivins<br>
<b>Sent:</b> Monday, November 25, 2013 8:33 AM<br>
<b>To:</b> &#39;<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>&#39;<br>
<b>Subject:</b> [vtkusers] vtkCutter leaves &quot;gaps&quot;</span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Hi All,<u></u><u></u></p>
<p class="MsoNormal">I’ve run into a strange problem where with some of my datasets, vtkCutter is leaving “gaps” in the output polydata.<u></u><u></u></p>
<p class="MsoNormal">For example, if I use a plane as the implicit function the attached image shows the result.<u></u><u></u></p>
<p class="MsoNormal">Anyone seen this kind of  behavior before?<u></u><u></u></p>
<p class="MsoNormal">Is there some setting on the vtkCutter that is perhaps causing this?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Gerrick<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><a href="https://www.landmarksoftware.com/Pages/Geosciences.aspx" title="&quot;DecisionSpace® 5000.8.3 Now Available&quot; t " target="_blank"><span style="text-decoration:none"><img border="0" width="800" height="115" src="cid:image001.jpg@01CEF289.B12B0130" alt="DecisionSpace® 5000.8.3 Now Available"></span></a><u></u><u></u></p>


<p class="MsoNormal"> <u></u><u></u></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal">This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure
 by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.<u></u><u></u></p>


</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br></div></div>