This question is sort of a g-code question. Its more about x and y coordinates but this was the nearest forum that the question fit so here goes.
I am cutting a .250 hex on the end of a piece of bar stock. The stock is held in a 4 jaw scrolling chuck. I have chucked up a piece of stock and mounted a universal indicator on the spindle. I found the center of the part and set x and y to zero. Stock size is .750
I am starting on the left side of the part, cutting a flat, moving down and right to cut the first angle...see picture for the path.
Here is the coordinates that I am using. I'll add my logic in quotes.
I'm using tool compensation to the right.
Z 1.0 (get above clamps and chuck)
X -.250 (x zero is center of part. Move to the left of the part center)
Y +.500 (move past the part in the + y direction)
Z -.250
X -.250 Y-.1443 (move to point 1 in the pic)
X -.1443 Y -.250 (cut first angle down and to the right)
X +.1443 Y-.250
X +.250 Y0.00
X +.1443 Y+.250
X -.1443 Y +.250
X -.250 Y +0.00 (might throw out this last move)
I don't have the exact code. I wrote that by memory.
Here are the resulting measurements:
Viewing the hex from the top the flats are located at 9&3, 1&7, 5&11
I start cutting flat 9 then, 7, 5, 1, 11, 9. 9 is done halfway again to get the little corner.
Across flats 3-9 = .500
Across flats 1-7 = .495
Across flats 5-11 = .505
I checked for backlash by putting a dial indicator on the spindle and programmed the table to move the X axis .010. I checked the result, then moved it back .010. The dial indicator was perfect. Same thing with the Y axis
Anyone have any ideas? Hopefully its my poor programming skills.