Splitting a mesh with sets of Polyline/Curve

Hello everyone. Is there any robust way for splitting a mesh with sets of curve or polyline?
I tried splitMeshWithCurve form rhino but it’s not working properly. I wonder if there is any tool available that can perform this task.



For simple case MeshSplit works:

But as all rhino boolean intersections, it probably would fail on more complicated geometries.