Fit curve through scripting?

Is it possible to reproduce the effect of hitting a given button on the Fit Curve panel through a script? (that is, simply to re lengthen handles to a desired fit curve percentage automatically?)

See my Tunnify script for inspiration. Or the code of the Fix Zero Handles plug-in.

1 Like

Oh dear, more math than I was hoping for! :smiley:

1 Like