malnvenshorn / OctoPrint-FilamentManager

OctoPrint plugin to manage your filament inventory
GNU Affero General Public License v3.0
131 stars 60 forks source link

Filiment offset applying to gcode included temp #211

Open JHale716 opened 4 years ago

JHale716 commented 4 years ago

Describe the bug The plugin is applying the temp offset to the gcode temp defined rather than the suggested default temp loaded in the plugin for use when the temp is not defined in the gcode.

Steps to reproduce gcode for say PETg at 240c when you have a default of 200C with a 40C offset, results in a target temp of 280C and a panic overheat of the printer.

Expected behavior Where the gcode does not have a hotend temperature defined, the default temp from the plugin plus the filament roll offset applies.