Originally Posted by
mwbridgwater
I wrote this simple program today for finishing a slot (I've omitted the first part which is roughing.). Please see the sketch and code I wrote. One problem which I can't figure out: The finished slot measures the correct width (.280) but the length is exactly .015 short at each end (2.220 inside the ends of the full radii instead of 2.250). Using a .250 end mill with D code at .250 diameter. Funny, that the amount the ends are short is the same as the amount that the sides are over 1/4", but I don't see how that can be related. See PDF sketch: Starting at point "A", CCW loop, finishing at point "B". Gotta figure this out by the morning! Thanks for any insight.
N23 X2.3 Y0
N24 G01 Z-.5 F80.
N25 G41 D04 X2.345 Y0
N26 G03 X2.485 Y.140 I.140 J0
N27 G01 X.515
N28 G03 X.515 Y-.140 I0 J-.140
N29 G01 X2.485
N30 G03 X2.625 Y0 I0 J.140
N31 G40 G01 X2.3 M09
N32 G00 G91 G28 Z0.
N33 M30