From b421c057a82079132c7c6bb846cc1f4c5f72542d Mon Sep 17 00:00:00 2001 From: HellAholic Date: Mon, 10 Feb 2025 20:15:22 +0100 Subject: [PATCH] Add overwritten part for start_x and start_y set to None --- plugins/PostProcessingPlugin/scripts/PurgeLinesAndUnload.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/PostProcessingPlugin/scripts/PurgeLinesAndUnload.py b/plugins/PostProcessingPlugin/scripts/PurgeLinesAndUnload.py index 68c16b1e2f..8329da8a3f 100644 --- a/plugins/PostProcessingPlugin/scripts/PurgeLinesAndUnload.py +++ b/plugins/PostProcessingPlugin/scripts/PurgeLinesAndUnload.py @@ -54,7 +54,9 @@ class PurgeLinesAndUnload(Script): self.machine_right = self.machine_width - 1.0 self.machine_front = 1.0 self.machine_back = self.machine_depth - 1.0 - + self.start_x = None + self.start_y = None + def initialize(self) -> None: super().initialize() # Get the StartUp Gcode from Cura and attempt to catch if it contains purge lines. Message the user if an extrusion is in the startup.