Remove faces in contact with non-manifold edges

Hi @kruvva

Before moving on with step 6, did you try using vtkHolesFilter() after step 5? In your code, it would be

fillHoles = vtk.vtkFillHolesFilter();
fillHoles.SetInputData(polyData)
fillHoles.Update()

If the output of fillHoles looks good, you do not have to go through the remaining steps.