'SplitWithBreps' puzzling result: different output for points and curves

Hi
I’m using ‘Split with Breps’ for dividing a closed curve with a set of 150 surfaces. It should return 150 open curves, but I got only 149 (and 150 points).
Using another closed curve, the same Split with Breps works fine (150 curves).


CrvSplit_with_Srfs.gh (601.3 KB)

What’s the problem here? Is this depending on the resolution of the model, or what? The closed curves have both some 5000 knots, and no apparent issues.

Also, are there other ways in GH (Rhino ver. 5.4.1 Mac) for achieving this, using perhaps other items? There’s the ‘Surface | Curve’ (which doesn’t work btw.,) but there’s no ‘Curve | Surface’ or ‘Split with Srfs’…

Please note that the set of surfaces is a restrain: using fixed distance, lenght or similar rules for splitting the curve is not an option here…

I am using Rhino ver 7.33 Mac.

The results from the Split With Breps vary depending on document tolerance. I get expected results with tolerance set to 0.001

Results from Brep / Curve seem to be more consistent regardless of document tolerance.

CrvSplit_with_Srfs_re01.gh (619.6 KB)

You could use the points from Brep / Curve to split your curves.

CrvSplit_with_Srfs_re02.gh (618.8 KB)

-Kevin

Brilliant!
Nice & smooth solution, Kevin.
Really appreciated!!

Btw: in some other model the Brep / Curve generated a wrong amount of points, too.
So it’s definitely a matter of resolution, and yes - Brep / Curve performs generally better than Split with Breps