vtkDataSetSurfaceFilter returns an empty mesh for 1D Rectilinear or Structured grids
The issue can be tested opening the attached file in ParaView.
Nothing is rendered whereas the grid has 9 line cells. The workaround is to use a MergeBlock filter to transform it in UnstructuredGrid. In this case only, the lines are visible.