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 2fd2ec5f5c
commit ffdc9832e0

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)