489
« on: October 21, 2020, 04:50:31 PM »
If you want to use G41/42 compensation you have to plan for it in the g-code, to use comp correctly you have to feed on to the cutter path with a line and a blending tangential arc where the total movement is greater than the amount in the tool diameter offset, you say you are adjusting the size by 0.020" and your move is only 0.016" see red highlight. Also your code is cancelling the comp with the G40 and no lead out move so you can get gouging if the direction of travel changes.
You need to lookup how to do G41/G42 compensation, there are lots of examples on here.
G54 x0 y0.01 a0
z1.
g01 z-.25 f10.
G42 D2
y-.016 f10.
g90
g40
a720. f2000.
g90x0y0
G41 D2
y.016 f10.
g90
g40
a0. f2000.