i made the holes with cambam and it did what it did. i would much
prefer a single arc but i thought they had to be less than 180
degrees or some other limit. i just trusted what canbam made.
i like the idea of parameters i use them all? the time in
computer programming.
i think i should start over with the two holes and learn how to
specify a single arc or find a program that does instead of three
or four. Will Estlcam do this?
On 2/14/2022 2:41 AM, Martin Connelly
wrote:
[Edited Message Follows]
Have you got CAD in any form? Can it export a DXF file? If you
have answered yes to both of these it may be worth using a simple
DXF to Gcode CAM program to create your Gcode. The one I use is
Estlcam. This is available for download and can be used a number
of times before you get a nagging to buy it. It takes a small
amount of time to be able to use it easily but it is worth
spending some time with it for relatively simple jobs like this.
I also do not understand why the circular path has been divided
into three segments when a single line of code can replace the
three arcs you have used.
G52 X 0.01 Y .6125
(thru hole)
(1ST PASS)
G1 F146 X0.0095 Y0.0
G1 F52 Z-0.34 X0.2095
G2 F40.0 X0.2095 y0 I-0.2095 J0.0
This makes it easier to understand and to change to climb
milling you just need to change the G2 to G3
Another option is to arc into the start position by changing the
line?G1 F52 Z-0.34 X0.2095 to G2 F40 Z-0.34 X0.2095 I0.1 J0
This could all be followed by an arc out as well G2 F40 Z0
X0.0095 I-0.1 J0
G52 X 0.01 Y .6125
(thru hole)
(1ST PASS)
G1 F14 X0.0095 Y0.0
G2 F40 Z-0.34 X0.2095 I0.1 J0
G2 F40.0 X0.2095 y0 I-0.2095 J0.0
G2 F40 Z0 X0.0095 I-0.1 J0
The arc in and arc out avoids dwell at the start and finish of
the hole to keep it smooth
Have you considered using parameters to produce your gcode?
For a simple hole like this you can have four parameters such
as #51, #52, #53 #54 which are used for the hole position X,
Y, the depth Z and the radius of the path.
For your hole for example
(thru hole)
?
#51 = 0.0095? ? ?(X position)
#52 = 0? ? ? ? ? ? ? (Y position)
#53 = -0.34? ? ? ? (Z position)
#54 = 0.2095? ? ?(radius)
?
(1ST PASS)
G1 F14 X#51 Y#52
G2 F40 Z#53 X[#51+#54] I[#54/2] J0
G2 F40 X[#51+#54] y#52 I[0-#54] J0
G2 F40 Z0 X#51 I[0-#54/2] J0
Change the #number parameter values to suit your needs. You can
repeat the section as many times as needed with different
parameters? to make a pattern of holes and differing depths and
diameters as well. You could also another parameter for the
initial Z height.
?
Martin
--
Best regards, Spencer Chase
67550 Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...
(425) 791-0309