NurbsCurve.ByControlPointsWeightsKnots Won't Work

I get this warning message when trying to create a conic curve with CP,Weights,Knot Curve tool:
_Warning: NurbsCurve.ByControlPointsWeightsKnots operation failed. _
Unable to create BSplineCurve from vertices : IBS_KNOT_SEQ_DECREASING – B-spline knot sequence is decreasing (should be non-decreasing)
conic.dyn (4.6 KB)

To me it all looks correct?

Take a closer look at the node’s description. The minimum number of points is always degrees + 1 and the number of knots is always the number of points + degrees + 1:

1 Like

thanks!
I was convinced was -1 because I read a similar topic in Grasshopper where apparently a minus 1 is used

Why is the line not reaching the start and end points?
Conic_Graph.dyn (5.6 KB)

Would be interesting to know why, but the reason why it was not working is that the Knots should be set to {0,0,0,1,1,1};