Cura-ArcWelderPlugin icon indicating copy to clipboard operation
Cura-ArcWelderPlugin copied to clipboard

The plugin launch the conversion also when we save the project

Open 5axes opened this issue 5 years ago • 3 comments

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 ?

5axes avatar Nov 28 '20 22:11 5axes

This is true for all postprocessing-type plugins. It may be hard to fix this from inside the plugin, but I will keep looking for a way to detect which filewriter is being used by the outputdevice.

fieldOfView avatar Nov 30 '20 10:11 fieldOfView

Anything I can do to help?

FormerLurker avatar Dec 14 '20 14:12 FormerLurker

Not unless you want to change how Cura works internally ;-)

Like I said, this is true for all postprocessing-type plugins, including the postprocessor that ships with Cura. It needs to be fixed in Cura, not in this plugin.

fieldOfView avatar Dec 14 '20 15:12 fieldOfView