this is fun. this is weird.
should i play a game of "spot the difference"?
right! i chopped up a wizard!
resulting in this...
___________________________
G0 G49 G40 G17 G80 G50 G90
M6 T1(TOOL DIA. 5)
G21 (mm)
M03 S300
G00 G64 A0.0
Y0.0 X0
G00 G43 H1 Z15
M98 P0001 Q5
X0
Z15
M5 M9
M30
O0001
(Start_pos = 10)
G00 G43 H5 Z15 G90
X0 Y0
G01 Z10 F500
G3 X-12.5 Y-12.5 Z-5 I0 J-12.5 F1000
G00 Z15
X0 Y0
G91 A72
G90
M99
_______________________
it is(was) a cut spline, modified for some bizarre reason. note my nasty insertion of a Z move in the g3 arc.(another brutalised wizard)
it makes quite a pretty pattern when " A axis rotation enabled" is selected from the config>toolpath box. im proud. its my first bit of g code ive put some thought into and im learning lots!
it started life as a 4 spline in the wizard. so i worked out the subroutines and q numbers, g90, g91, g64 and g43. im learning!
heres my weird bit of code. look close!
__________________________________
G0 G49 G40 G17 G80 G50 G90
M6 T1(TOOL DIA. 5)
G21 (mm)
M03 S300
G00 G64 A0.0
Y0.0 X0
G00 G43 H1 Z15
M98 P0001 Q5
X0
Z15
M5 M9
M30
O0001
(Start_pos = 10)
G00 G43 H5 Z15 G90
X0 Y0
G01 Z10 F500
G3 X-12.5 Y-12.5 Z-5 I0 J-12.5 F1000
G00 Z15
X0 Y0
A0
G91 A72
G90
M99
______________________
the difference comes from firstly, trying to add some "A" rotation as well as the "Z" move in the arc.
that didnt work at first. it resulted in a strange knot.
so return the "A" to zero . knot remains.
a different knot, mind you.
stuffed around with various combinations of - and + figures, knots knots knots.... pretty but not as pretty as i want!
removed my "A" rotation from the arc move
the knots remain. wtf?
the addition of a simple "A0" has seemingly made the g91 call void... instead of indexing around by 72 degrees, the subsequent moves are all on top of each other.
i havent actually tried the code on a mcahine yet....maybe its just mach3's display having a hissy fit and the a axis is really rotating?
me thinks not.
see what i want to do? cut an XY arc with some Z in it too, combined with a bit of spin on the A axis... i just want it to return the A to zero afterwards, index, and repeat routine! grrrrr! not make knots!
ha ha. 2nd paragraph of gcode summary G02/03
its in my blood to be difficult...
its a shame theres only one "axis of rotation" you can select in the config.toolpath box... i like watching gears/splines running. spherical faced spiral gears anyone?