gcode_arcs: support XY, XZ and YZ planes

add G17, G18 and G19 commands to select arc planes
enhance G2/G3 to support arc moves in XY, XZ and YZ planes

Signed-off-by: Andrew Mirsky <andrew@mirsky.net>
This commit is contained in:
Andrew Mirsky 2022-11-22 23:22:46 -05:00 committed by KevinOConnor
parent c7f323e863
commit 0c5c87d7c0
3 changed files with 98 additions and 31 deletions

View file

@ -2,10 +2,31 @@
DICTIONARY atmega2560.dict
CONFIG gcode_arcs.cfg
# Home and move in arcs
# Home and move in XY arc
G28
G90
G1 X20 Y20 Z20
G2 X125 Y32 Z20 E1 I10.5 J10.5
# XY+Z arc move
G2 X20 Y20 Z10 E1 I10.5 J10.5
# Home and move in XZ arc
G28
G90
G1 X20 Y20 Z20
G18
G2 X125 Y20 Z32 E1 I10.5 K10.5
# XZ+Y arc move
G2 X20 Y10 Z20 E1 I10.5 K10.5
# Home and move in YZ arc
G28
G90
G1 X20 Y20 Z20
G19
G2 X20 Y125 Z32 E1 J10.5 K10.5
# YZ+X arc move
G2 X10 Y20 Z20 E1 J10.5 K10.5