fieldOfView / Cura-OctoPrintPlugin

Cura plugin which enables printing directly to OctoPrint and monitoring the process
GNU Affero General Public License v3.0
484 stars 74 forks source link

Option to skip wait on gcode analysis #239

Closed H4R0 closed 2 years ago

H4R0 commented 3 years ago

Could we get a option in settings to disable wait for gcode analysis ?

Gcode analysis takes some time but runs fine parallel to the start sequence (printer heating, nozzle cleanup, skirt etc.)

And even if it still runs during print there is no noticeable slow down.

Print time becomes available after it finished analyzing in Cura automatically.

I don't see a reason to wait for it, I always skip it and there are no issues.

https://github.com/fieldOfView/Cura-OctoPrintPlugin/blob/7bd73946fbf22d18337dc900a81a011ece26bee0/OctoPrintOutputDevice.py#L1161

Add skip option here https://github.com/fieldOfView/Cura-OctoPrintPlugin/blob/7bd73946fbf22d18337dc900a81a011ece26bee0/OctoPrintOutputDevice.py#L1154

reference: https://github.com/fieldOfView/Cura-OctoPrintPlugin/commit/e07208fa2c7343afca7db40418283c98f4cde208

https://github.com/fieldOfView/Cura-OctoPrintPlugin/issues/97

fieldOfView commented 2 years ago

The next version of the plugin will look at how OctoPrint is configured. See Settings -> Features:

If this setting is set to Always or Never, the plugin will no longer wait for analysis. If it is set to "on idle", it makes no sense to always skip waiting for the analysis to complete; doing so stops the analysis, so you might as well disable the estimation plugin altogether.

fieldOfView commented 2 years ago

I am finishing up the next version of the plugin, which implements a check to see if OctoPrint allows gcode analysis while printing (see above).

Please help me test this feature by downloading this development snapshot and dropping it on the Cura buildplate to install it.

H4R0 commented 2 years ago

I haven't printed a lot in the last couple of weeks.

I will see if I can test it by tomorrow evening.