Beizer curve handles

Hi everyone !

I’m trying to create a bezier curve with a list of coordinates ! So far, I’m able to get the curve control points to pass par these coord, but it seems impossible to get ahold of the tangents (the two points that come along with any Bezier points) in order to ensure to curve looks like what I want.
I can’t find no tips in the info log, hence I came here to ask !

Does anyone have a lead ?

Thanks a lot !

I think there is a sample file in text editor templates
check it out

happy bl

.co for coordinates, .handle_left and .handle_right for handles.

Thanks ! Works perfectly !