Hey guys, Im writing a CNC program (not a g-code) for a lathe machine and im having some trouble with calculating the tool radius compensation needed for arc cutting.
When the arc angle is 90 degrees there's no problem, the problem is when i want to cut an arc that is less than that.
Are there any formulas for calculating the compensation needed with dependece on the tool radius and the arc radius?

Thanks!