Split gives 4 results instead of 2, and the shapes are changed

Hello,
I’m using the split command to cut a surface by a NURBS closed contour:

and instead of having 2 surfaces, I get 4 surfaces which partially don’t fit the cutting curve:

However if I use the command SimplifyCrv beforehand on the cutting curve, I get the expected result:

Additionally,

  • I’ve tested with multiple tolerances, the result is the same.
  • The behavior is the same using Brep.Split() in Python.
  • It happens on Rhino 8, but not Rhino 7.

Can you post the file with the closed curve and the surface?

Here it is,

Unexpected_Spli_result.3dm (718.8 KB)

Strange. If the splitting curve/polyline is split and then joined back together the surface splits normally.

How was the splitting curve/polyline created.

Yeah, that’s not supposed to happen. I’ve logged the issue here.

The difference before and after explode+join is that before it is a degree-1 nurbs curve, while after it is a polyline. Of course that shouldn’t make any difference, but it does.

It has been created using python rs.AddNurbsCurve with all the control points, knots,…
Same for the surface.