From ffdc9832e0f0ecb7c670a9171b639f5aba9545ab Mon Sep 17 00:00:00 2001 From: jffmichi <> Date: Wed, 14 May 2025 21:44:48 +0200 Subject: [PATCH] CAM: fix uccnc postprocessor not checking the Active state of operations --- src/Mod/CAM/Path/Post/scripts/uccnc_post.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Mod/CAM/Path/Post/scripts/uccnc_post.py b/src/Mod/CAM/Path/Post/scripts/uccnc_post.py index 4634ff0390..bad70ad181 100644 --- a/src/Mod/CAM/Path/Post/scripts/uccnc_post.py +++ b/src/Mod/CAM/Path/Post/scripts/uccnc_post.py @@ -452,6 +452,10 @@ def export(objectslist, filename, argstring): # write the code body for obj in objectslist: + # Skip inactive operations + if not PathUtil.activeForOp(obj): + continue + # pre_op if OUTPUT_COMMENTS: gcode += append("(operation initialise: %s)\n" % obj.Label)