From 3426672ccd9f8bc1d0793280bdad4fa72d3c852d Mon Sep 17 00:00:00 2001 From: tarman3 Date: Mon, 1 Dec 2025 11:45:09 +0200 Subject: [PATCH] CAM: Slot - Clear path if can not create slot --- src/Mod/CAM/Path/Op/Slot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Mod/CAM/Path/Op/Slot.py b/src/Mod/CAM/Path/Op/Slot.py index 9f6d2a719e..3621149d0a 100644 --- a/src/Mod/CAM/Path/Op/Slot.py +++ b/src/Mod/CAM/Path/Op/Slot.py @@ -564,6 +564,10 @@ class ObjectSlot(PathOp.ObjectOp): cmds = self._makeOperation(obj) if cmds: self.commandlist.extend(cmds) + else: + # clear Path if can not create slot + self.commandlist.clear() + return False # Final move to clearance height self.commandlist.append(