gcode_dict = getattr(scene, "gcode_dict", {}) if not gcode_dict: # this also checks for an empty dict Logger.log("w", "Scene has no gcode to process") return
It prevent to launch the conversion if no Gcode have been calculated . But not if we save the project . Any solution to avoid this case ?