@velopl wrote:
Hi
I’m trying to script in python rg.Curve.CreateBlendCurve from a list of curves.
The concept is
-as a input, have a list of curves
-want to blend first one with the second one, second one with a third one and so onAt the moment really messing around and not sure how to set it up in the loop as
for x in lst:
for y in lst:
blend=rg.Curve.CreateBlendCurve(x,y,rg.BlendContinuity.Curvature)
blends.append(tuple(blend))my first list is
lst = [crvs[0],len(crvs)]my second list is empty
blends =All I get is
Runtime error (TypeErrorException): NurbsCurve is not iterableAny help? Pretty please
Posts: 3
Participants: 2