Set relative after getting to line G91

This commit is contained in:
Aleksei S 2018-07-25 13:44:58 +02:00
parent 952bc54452
commit fca51ac41f

View file

@ -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)