I was looking for a formula to calculate Arcs and came across this reference: How to program arcs and linear movement in G-Code manually - All
I've been doing manual Arc calculations and writing my own gcode and have successfully made a lot of Arcs on my laser machine. So I feel I have a pretty good handle on manually writing gcode to produce Arcs.
However, the formulas on this web page don't seem to work for me and I can't figure out why. When I manually run the numbers on one of my Arcs (that work on my laser machine) and then plug those numbers into the formulas provided on this web page, the Arc G03 values are very different.
From the web page:
Formulas
1) Xs=Xc+(R*cos(Theta1))
2) Ys=Yc+(R*sin(Theta1))
3) Xe=Xc+(R*cos(Theta2))
4) Ye=Yc+(R*sin(Theta2))
5) I=(Xc-(R*cos(Theta1)))-Xc
6) J=(Yc-(R*sin(Theta1)))-Yc
While I can manually create the Arc gcode, I'm not very good at math so I can't 'debug' these formulas. So I thought I would ask if anyone knows of some other G02/G03 Arc formulas that I can try?
Thanks...