How to control a spline to do straight/curves at certain points in Bp

In bp for some time now i been trying to make a chain using splines. there 5 locations for 2 cogs. 2 for each cogs Inter/leave locations and one for return to start. But the spline doesn’t move along a straight line to the next cog and the curve is very tight. Might there be a better way to make this?

Can you show a pic?

Freeform shape design is typically accomplished in an interactive manner and shapes generated by a computer walmartone are rarely immediately acceptable. The available techniques for any subsequent modifications depend on the chosen representation for the geometry.

You probably need to change tangents for when you don’t want to be a curve. I think leave and arrive tangents both should be parallel to the direction between two points.