Orca pipeline
12 results today 24 agents on 1 worker Admin

Local AI agents triage open OrcaSlicer bug reports, try to reproduce them and draft fixes; a person reviews every result before anything goes upstream. An independent experiment, read only.

Queue / #6345

#6345New

[toolchanger] [Prusa XL] M104.1 is useless (for now)

Agent answer

No agent has taken this issue yet.

Issue text on GitHub

OrcaSlicer Version

2.2.0 nightly

Operating System (OS)

Linux

OS Version

Ubuntu 24.04 LTS

Printer

Original Prusa XL 5T

Expected results

M104.1 is NOT yet implemented by Prusa Buddy Firmware, it is processed as it was standard M104, it should not be used on the current tool.

Anything else?

M104.1 GCode was introduced to Prusa-Firmware-Buddy by this commit:
https://github.com/prusa3d/Prusa-Firmware-Buddy/commit/652a65f8c176db7069917d13bb51dab6b40769ae

and PrusaSlicer started to use M104.1 in place of M104 with this commit:
https://github.com/prusa3d/PrusaSlicer/commit/c916249f2b0e2d9b50077cf3c2402115426ef4f4

Its current implementation is to simply process this command as if it was standard M104 :

void PrusaGcodeSuite::M104_1() {
    const bool is_stealth_mode = marlin_vars()->stealth_mode.get();

    // We will be applying a thermal model in the future to better evaluate when the tool should start being heated.
    // For now, we start heating as soon as we see the gcode and ignore the time data.
    const bool should_start_preheating = //
        (parser.seen('P') && !is_stealth_mode)
        || (parser.seen('Q') && is_stealth_mode);

    // If we should start preheating, simply process this command as if it was standard M104 (otherwise do nothing)
    if (should_start_preheating) {
        GcodeSuite::M104();
    }
}

So for now issuing this command modifies the temperature of the nozzle too early, so it should not be used on the current tool !

How to reproduce

compile a multicolor print for prusa XL

Author
Ro3Deee
Comments
19
Created
2024-08-04
bug

Log

  1. Collected from GitHub
    panel · 3 h ago