CreateInterpolatedCurve fails

can I create an interpolated curve from 3 points in degree 2?
this fails for me:

import rhinoscriptsyntax as rs

points = (0,0,0), (1,1,0), (2,0,0)

rs.AddInterpCurve(points, degree=2 )

I vaguely recall this bug being raised in the past, but I can’t find anything in the bugtracker… --Mitch

Hi @Goswin,

The degree of the curve must >=1, and the degree must be odd.

– Dale