From fca51ac41f916d315e16a5d90af0e4f405016954 Mon Sep 17 00:00:00 2001 From: Aleksei S Date: Wed, 25 Jul 2018 13:44:58 +0200 Subject: [PATCH] Set relative after getting to line G91 --- plugins/PostProcessingPlugin/scripts/Stretch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/PostProcessingPlugin/scripts/Stretch.py b/plugins/PostProcessingPlugin/scripts/Stretch.py index 945483c321..377bc4e8da 100644 --- a/plugins/PostProcessingPlugin/scripts/Stretch.py +++ b/plugins/PostProcessingPlugin/scripts/Stretch.py @@ -136,9 +136,11 @@ class Stretcher(): # end of relative movement elif _getValue(line, "G") == 90: in_relative_movement = False + current.setInRelativeMovement(in_relative_movement) # start of relative movement elif _getValue(line, "G") == 91: in_relative_movement = True + current.setInRelativeMovement(in_relative_movement) elif _getValue(line, "G") == 92: current.readStep(line)