Hey there,
the following code works differently in R5 than in R6, for a closed curve:
private void RunScript(Curve C, double t, ref object A)
{
Print(C.Domain.ToString()); //returns: 0.249, 1.249
A = C.Split(new double[]{0,t}); //returns one curve in R6, two in R5.
}
in R6 I can fix it by replacing 0 with C.Domain.T0, but it has been a change that has ruined at least one of my tools. Anyway, I just wanted to report it.
Does anyone know the reason for this change? It seems to be something underlying related to the domain of the curve but I would like to know why, because it seems to have consequences on other sides.
Thanks.
Curve.Split() issue.gh (7.3 KB)