From 6d8b98d47122a4d9511227fdf145037e1e9af5f2 Mon Sep 17 00:00:00 2001 From: sliptonic Date: Sat, 14 Mar 2026 09:17:48 -0500 Subject: [PATCH] block delete logic --- src/Mod/CAM/Path/Op/Base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/CAM/Path/Op/Base.py b/src/Mod/CAM/Path/Op/Base.py index 6ac133eee7..9e2cd55ac5 100644 --- a/src/Mod/CAM/Path/Op/Base.py +++ b/src/Mod/CAM/Path/Op/Base.py @@ -828,7 +828,7 @@ class ObjectOp(object): self.commandlist.append(Path.Command("G0", {"Z": obj.ClearanceHeight.Value})) # Add block delete annotations if enabled - if obj.BlockDelete: + if hasattr(obj, "BlockDelete") and obj.BlockDelete: for command in self.commandlist: annotations = command.Annotations annotations["BlockDelete"] = True