I have detected a bug in vtkcutter, i want to get the intersection between a plane and an stl and instead of getting edges what i get is points. If i print the cells returns 0, so i can´t use vtkstripper as it returns the same output. And there are parts that even the plane is intersecting there the point is not considerered. The cut is correct but how it returns the data is wrong, I though because the stl is hollow and it is very thin but i extruded the stl and i get the same points with no cells.

Someone has had the same problem?. Any solution?

Thank you

//vtkCutter returns the intersection of the plane with a mesh (polydata)
vtkSmartPointer<vtkCutter> clipper =
vtkSmartPointer<vtkCutter>::New();
clipper->SetInputData(stl);

//The normal to what we cut
double perpendicular[3] = { v[0],v[1],v[2] };
perpendicular[2] = 0;
double* normalizedX = perpendicular;
vtkMath::Normalize(normalizedX);

Thank you for your quick respoponse and the links. My problem is not the usage of this filter. It is very simple to use. The problem is a bug of this filter

with certain surfaces I printed out the number of lines of the output of the cutter and it returns 0 lines (0 cells). The cut is ok but i would like to obtain lines no disconnected points. I read in other posts that some suraces have problems but they do not get any solution. Any idea?: Thanks

There are 0 lines in the polydata
-----------Lines using vtkStripper
There are 0 lines in the polydata

The cut is correct but it only returns disconnected points .