Thanks for the quick reply. if the tool diameter needs to be smaller than half of the pocket diameter this would make sense. However, I understand the G41/G42 documentation that the coordinates from a G40 to a G41 move need to be at least R+dR away from each other to allow for the tool radius to fit in between. This would mean theoretically I could cut a hole with any tool that is smaller than the hole diameter (this is also what I would expect).
Example (with the numbers from above):
- we want to cut a hole that has a diameter of 10 around the origin
- we use a tool with diameter of 6
- we start in the middle of the whole
From what I understand the G-Code should look something like this:
Code:
<header>
G0 X0Y0
G41 D<tool-number>
G1 X0 Y5 ; straight approach
<go in a circle>
G40
G1 X0 Y0 ; go back to the middle of the hole
<program end>
The leadin / leadout have the length of 5 so it should be possible to use them as leadin moves from G40 to G41 and vice versa.
What am I doing wrong?
(of course, with the code above I would get the bump as described in the documentation but I wanted to have a very simple example with no overlaps and such)