<div>Hi,</div>
<div>&nbsp;</div>
<div>I&#39;ve tried vtkCutter to get the contour of a polydata and I am getting weird results.</div>
<div>&nbsp;</div>
<div>In first case I cut a sphere with and the cutter does generate a circular contour. In the second case I try to cut through a bunch of triangles and are all coplanar and I try to cut them to get their contour but I get an empty polydata back from the cutter.
</div>
<div>&nbsp;</div>
<div>Basically, I need to get the contour of a flat shape ( the shape is made of of triangles and all triangles are coplanar and I only need the outer lines which form the parameter of the shape, not any of the interior/shared triangle edges&nbsp;). I though I could use vtkCutter since it is simple to use and is fast but it doesn&#39;t return anything !!! It just return a polydata which no cells, or polys, or lines etc.
</div>
<div>&nbsp;</div>
<div>Can anyone tell me how to fix this, or is there a better way of doing this ?</div>
<div>&nbsp;</div>
<div>thanks</div>