Hello Guest it is March 28, 2024, 06:12:24 AM

Author Topic: GCODE FILE, Programable OVAL THINGY maker(;-)  (Read 9752 times)

0 Members and 1 Guest are viewing this topic.

vmax549

*
GCODE FILE, Programable OVAL THINGY maker(;-)
« on: August 01, 2009, 09:28:52 PM »
I will not call it an elispe but an OVAL thingy maker that resembles and elispe(;-)  An interesting play on the sub in a sub routine. It does not cut true arcs but it is programable as to the resolution of the segments.

Just adjust the parameters with the gcode editor and have at it(;-) TP


( Elispe Gcode, Programable)
#101 = 0.75         ; length along X axis
#102 = 0.35         ; length along Y axis
#103 = 10.0        ; plunge feedrate
#104 = 20.0        ; cutting feedrate
#105 = 0.1         ; Z clearance height
#106 = -0.2        ; Z cut depth
#107 = 1.0         ; angle increment Sets the resolution of each segment
#108 = 1.0        ; the X center position
#109 = 1.0         ; the Y center position
#111= 11         ;#steps to Zdepth

(do not adjust below here)
#112= [#106/#111]         ; Depth per step
#113=#112      ; Depth Holder Var

G0 X[[#101/2.0]+#108] Y#109 Z#105
%
M98 P01 L#111
m30
%
o01
G1 F#103 Z#112
F#104
#110 = #107
#112=[#113+#112]
M98 P02 L [360.0 / #107]
%
o2
G1 X[#101 * cos[#110] / 2.0 + #108] Y[#102 * sin[#110] / 2.0 + #109]
 #110 = [#110 + #107]
m99
%
« Last Edit: August 01, 2009, 09:30:57 PM by vmax549 »

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: GCODE FILE, Programable OVAL THINGY maker(;-)
« Reply #1 on: August 03, 2009, 05:27:42 PM »
I did a "Wizard Screen" for this a few years back for this kinda stuff, see this link:

http://www.machsupport.com/forum/index.php/topic,5249.0.html

Reply #1 has a download for the Wizard with tool offsetting. It uses a simular "Complex G Code" in the file generator.
You can do: Circles, Elipses, and several segmented shapes as long as they divide evenly into 360. You can just enter the numbers into the DROs.

scott
fun times