diff --git a/src/octoprint/util/gcodeInterpreter.py b/src/octoprint/util/gcodeInterpreter.py index da3a108af..dfb4d612d 100644 --- a/src/octoprint/util/gcodeInterpreter.py +++ b/src/octoprint/util/gcodeInterpreter.py @@ -547,7 +547,7 @@ class gcode: startAngle = math.atan2(oldPos.y - centerArc.y, oldPos.x - centerArc.x) endAngle = math.atan2(pos.y - centerArc.y, pos.x - centerArc.x) - if gcode == "G2": + if gcode in ("G2", "G02"): startAngle, endAngle = endAngle, startAngle if startAngle < 0: startAngle += math.pi * 2