From 4b6e5b34efac13b3e155a9732a39aeb4e5d537d3 Mon Sep 17 00:00:00 2001 From: Peter Boin Date: Sun, 6 Aug 2017 18:50:33 +1000 Subject: [PATCH] fixed G10 G20 params (although it's still a hack) --- src/pygcode/gcodes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pygcode/gcodes.py b/src/pygcode/gcodes.py index 5013fb1..4449d47 100644 --- a/src/pygcode/gcodes.py +++ b/src/pygcode/gcodes.py @@ -1210,8 +1210,8 @@ class GCodeAnalogOutputImmediate(GCodeAnalogOutput): # G10 L1 P Q R Set Tool Table # G10 L10 P Set Tool Table # G10 L11 P Set Tool Table -# G10 L2 P R Set Coordinate System -# G10 L20 P Set Coordinate System +# G10 L2 P R ABCXYZ Set Coordinate System +# G10 L20 P ABCXYZ Set Coordinate System # G28, G28.1 Go/Set Predefined Position # G30, G30.1 Go/Set Predefined Position # G53 Move in Machine Coordinates @@ -1242,7 +1242,7 @@ class GCodeToolSetCurrent(GCodeNonModal): class GCodeSet(GCodeNonModal): """G10: Set stuff""" - param_letters = set('LPQR') + param_letters = set('LPQRABCXYZ') word_key = Word('G', 10) exec_order = 230