From bba470411590faa84583a30745b5d944d323f2bc Mon Sep 17 00:00:00 2001 From: duncan law Date: Sat, 8 Feb 2020 22:52:52 +0000 Subject: [PATCH] Add parameters to G92. --- src/pygcode/gcodes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pygcode/gcodes.py b/src/pygcode/gcodes.py index a2e5f34..780ee3b 100644 --- a/src/pygcode/gcodes.py +++ b/src/pygcode/gcodes.py @@ -1265,7 +1265,7 @@ class GCodeAnalogOutputImmediate(GCodeAnalogOutput): # G28, G28.1 Go/Set Predefined Position # G30, G30.1 Go/Set Predefined Position # G53 Move in Machine Coordinates -# G92 Coordinate System Offset +# G92 ABCXYZUVW Coordinate System Offset # G92.1, G92.2 Reset G92 Offsets # G92.3 Restore G92 Offsets # M101 - M199 P Q User Defined Commands @@ -1323,6 +1323,7 @@ class GCodeMoveInMachineCoords(GCodeNonModal): class GCodeCoordSystemOffset(GCodeNonModal): """G92: Coordinate System Offset""" + param_letters = set('XYZABCUVW') word_key = Word('G', 92) exec_order = 230