Hello everyone,
I am making my own cnc machine from parts taken from a printer and a scanner. I am using a raspberry pi for driving the stepper motors and have started implementing my own program in python. I have nearly finished it, but the only part missing is how to calculate the circular interpolation. I would like the equations in order to be able to draw arcs from two points.

I have tried the following so far but none worked as expected:

Bresenham's circle drawing algorithm: http://www.geeksforgeeks.org/bresenh...ing-algorithm/
Mid-point circle drawing algorithm: http://www.geeksforgeeks.org/mid-poi...ing-algorithm/
Circle Generation Algorithm: https://www.tutorialspoint.com/compu..._algorithm.htm

Could you please help me?
Thank you.