CAM: fix uccnc postprocessor not checking the Active state of operations

This commit is contained in:
jffmichi
2025-05-14 21:44:48 +02:00
parent 747afab6e5
commit 9d72b917b6

View File

@@ -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)