Hi, I’am new to Rhino Python.

I’m trying to shorten a curve by a given length. (More specifically cut the first 5 cm form a given curve.)

I am able to find the cutting point by using rs.DivideCurveLength:

newstartpoint=(rs.DivideCurveLength(crv,cutdist,False,True))[1]

But then I’m stuck as I can’t find how to trim a curve with a point.

I guess it would be easier using rs.TrimCurve(). But therefore I need to reparametrize the curve.

Is there a way in Rhino Python to adapt the Curve Domain to [0.0,rs.CurveLength(crv)]?

Thanks for your help and Merry Christmas to all of you!