From a7b5494fee091fe2364117fc7ea301bc96e3e7b0 Mon Sep 17 00:00:00 2001 From: Lars Brubaker Date: Wed, 8 Sep 2021 17:51:03 -0700 Subject: [PATCH] Missed a relative extrusion consideration --- MatterControl.Printing/GCode/GCodeMemoryFile.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MatterControl.Printing/GCode/GCodeMemoryFile.cs b/MatterControl.Printing/GCode/GCodeMemoryFile.cs index bb0f6e850..eba09082d 100644 --- a/MatterControl.Printing/GCode/GCodeMemoryFile.cs +++ b/MatterControl.Printing/GCode/GCodeMemoryFile.cs @@ -882,6 +882,11 @@ namespace MatterControl.Printing if (processingMachineState.XyzeMovementType == PrinterMachineInstruction.MovementTypes.Relative) { position = Vector3.Zero; + } + + if (processingMachineState.XyzeMovementType == PrinterMachineInstruction.MovementTypes.Relative + || processingMachineState.ExtuderRelativeOverride) + { ePosition = 0; }