OllisGit / OctoPrint-DisplayLayerProgress

OctoPrint-Plugin
GNU Affero General Public License v3.0
120 stars 24 forks source link

Allow disabling messages for feedrate changes to improve performance #284

Open MiK1977 opened 8 months ago

MiK1977 commented 8 months ago

I have problems like in Issue #124.

It seems to occur when the gcode has many flowrate changes.

I commented out this section:

    # feedrate
    matched = feedratePattern.match(commandAsString)
    if matched:
        feedrate = matched.group(1)
        self._feedrate = feedrate
        if commandAsString.startswith('G0'):
            self._feedrateG0 = feedrate
        if commandAsString.startswith('G1'):
            self._feedrateG1 = feedrate
        self._updateDisplay(UPDATE_DISPLAY_REASON_FEEDRATE_CHANGED)

In the result the prints were flawless.

Could you please add a possibility to disable reacting on feedrate changes?

hyperair commented 4 months ago

+1, it seems like PrusaSlicer has been generating many feedrate changes for me as well, either due to Arachne perimeter generation, perimeter autospeed, or dynamic overhang speeds, and I've been needing to resort to printing from Klipper's virtual sdcard