Don't expect to pick this up quick, We all learn at our own pace and somethings flow at time and other times NOT that when I just yell out "ART!" and shake my head. It will start to click just like gcode, basic, subroutines did in time. Dont give up, build a community and share your functions or your need for one. We all can help and learn from each other.
here is an example of my last Gcode using pretty much all variables to make the attached photo's hatching patterns.
(And no it will not run in Auggie due to the pound variables, just an example for those that like the obscure)
just a couple of changes to the variables and I was cutting. It took me years to get to that ability. And pretty much the only way I program anymore. I have routines for turning, boring, facing, threading I just change a few variables touch off the needed locations and hit RUN.
I HATE GCODE. ::) but, I love tools, and scripting is a great tool to learn to use.
I would love to beable to do something like that with an Auggie function
So im just learning too.
Art loved to punish me till we found what worked. Been quite a journey to get to this point. :-X
Code: Select all
O7734
#6 = 95 (mill head angle to work at)
#1 = 8 (distance to cut in X)
#3 = 0 (Start location in X)
#4 = 10(cut feed)
#5 = -.12 (depth)
#9 = 60 (rapid feed)
#10 = 1 (number of pecks)
#11 = 36 (# of pattern lines to cut per 360 degrees)
#14 = .7 (ramp height for Z travel in #1 distances)
#15 = [#5 / #10] (Depth of passes)
#77 = .1 (z up from top of part)
#80 = -10 (start angle per 360 degrees)
#81 = 10 (increment plus or minus)
#82 = 120 (angle to rotate A plus or minus)
g0b#6
g55
m100
g1 x[#3]z[#77] a[0] f#9
m3 s2000
g1 x#3 z#77 y0 a[#3] f#9
M98 P010 L#11
g1z[#77*3]f#9
g1 x[#3] f#9
m5
m30
O010
g0a#80
z#77
#80 =[#80 + #81]
M98 P020 L#10
m99
O020
g0a[#80]
#83 =[#80 + #82]
g1 x[#3] z[#77] a[#80] f#9
g1 z[#15] f#4
g1 x[#1] z[#15+#14] a[#83] f#4
z[#77 + #14] f#9
g0 x[#3] a[#80]
g4p7
g0 a[#80]
g0 z[#77]
m99
Happy Holidays
Edit: Sorry, forgot to add a short video clip of a single pass, And thanks for the kind words, I enjoy retirement. ;D
https://www.youtube.com/watch?v=fc_lQRnoDXE
You do not have the required permissions to view the files attached to this post.