I would like to add some points in a Bezier Ipo curve from a python script and to set the handles to “free” or “aligned” mode (and not “auto” because this mode doesn’t give me enough control on the shape of the curve).
It seems that adding control points to an Ipo curve with ipoCurve.addBezier((x,y)) creates automatically the points with “auto” handles. It’s ok, but the problem is I can’t modify it…
Is there another way to add a control point to a Bezier interpolated Ipo curve wich gives more control ?
Is there a way to access the handle type information through the python API ?
The problem is:
Once I’ve created the points with addBezier((x,y)), I tried to set the handles position with ipo.setCurveBeztriple(…), but this doesn’t work.
It only works if I first edit manually the curve (setting the handles type to “free”) before running setCurveBeztriple(…)
Is it a limitation of the python API or am I just missing something ?
I know I could add more points to the curve to get more control on the shape, but if there is a way to change the handles type it would be much more simple.
Thanks in advance if you can help me.