<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Great! This is almost exactly what I needed! Was the option to only generate the flat endcaps, mentioned on the wiki as vtkCutClosedSurface, ever implemented? Currently I'm filtering the resulting triangles for all their z-coordinate being on the cut plane, but this quite wasteful in time for a large model and a large amount of slices.<br>
<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Regards,<br>Dov<br></div><div style id="divCleekiAttrib"></div><div style id="divCleekiAttrib"></div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Mon, Feb 10, 2014 at 4:09 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Dov,<br>
<br>
As far as I understand, vtkCutter does not produce an oriented output.<br>
You might want to look at vtkClipClosedSurface as an alternative:<br>
<a href="http://www.vtk.org/Wiki/index.php?title=VTK/Closed_Surface_Clipping" target="_blank">www.vtk.org/Wiki/index.php?title=VTK/Closed_Surface_Clipping</a><br>
<span class="HOEnZb"><font color="#888888"><br>
- David<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Mon, Feb 10, 2014 at 6:28 AM, Dov Grobgeld <<a href="mailto:dov.grobgeld@gmail.com">dov.grobgeld@gmail.com</a>> wrote:<br>
> Hello. I'm trying to do slicing of a complex model polygonal (read from an<br>
> STL file) with vtkCutter and I'm struggling to understand whether the<br>
> resulting polygons are "inside" or "outside". I realized that if I knew the<br>
> normal direction of the triangles cut by the vtkCutter, I could orient the<br>
> line segments of the cutting polygon such that "inside" is e.g. always on<br>
> the left side. But I couldn't find whether vtk retains a connection between<br>
> the cut polygon line segments and the corresponding 3D triangles that it<br>
> cut?<br>
><br>
> Thanks in advance!<br>
> Dov<br>
</div></div></blockquote></div><br></div>