I need help with math and geometry theory. I need to know how to calculate the distance along an arc given the start point, end point, and arc center. (A full circle is 2*pi*r) I also need to find the point on an arc that is X distance away.
So far, I have a messy solution involving sines and cosines with IF statements for which quadrant. There must be an elegant solution.
Background on what I'm doing: I'm writing a custom Gcode for my CNC control to read the Z distance on a laser displacement sensor every given increment along the arc.