aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndrew Mirsky <andrew@mirsky.net>2022-11-22 23:22:46 -0500
committerKevinOConnor <kevin@koconnor.net>2022-12-11 20:55:59 -0500
commit0c5c87d7c08c2b8aa2f248d81dd1003c5c7d5a7c (patch)
tree25310c0bb94995633aad96c67f96848478481f36 /test
parentc7f323e863eb73f3f50e28729b04f302bf8e3c6a (diff)
downloadkutter-0c5c87d7c08c2b8aa2f248d81dd1003c5c7d5a7c.tar.gz
kutter-0c5c87d7c08c2b8aa2f248d81dd1003c5c7d5a7c.tar.xz
kutter-0c5c87d7c08c2b8aa2f248d81dd1003c5c7d5a7c.zip
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>
Diffstat (limited to 'test')
-rw-r--r--test/klippy/gcode_arcs.test23
1 files changed, 22 insertions, 1 deletions
diff --git a/test/klippy/gcode_arcs.test b/test/klippy/gcode_arcs.test
index 2be4efc9..6f9a7e3a 100644
--- a/test/klippy/gcode_arcs.test
+++ b/test/klippy/gcode_arcs.test
@@ -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