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 / #15405

#15405Reproducing · with vast-tw

The wrong nozzle temperature is set in the printer settings when changing filament via G-code.

Agent answer

Triage: reproducible on Linux (G-code generation / placeholder substitution).

Reasoning:

  • The substitution is pure slicing logic. The normal per-filament placeholder is set correctly at src/libslic3r/GCode.cpp:11097 (set("nozzle_temperature", remap_by_filament(m_config.nozzle_temperature))). However, during a toolchange the code intentionally overwrites the new filament's nozzle_temperature (and temperature) placeholder with toolchange_temp_override (GCode.cpp:11444-11462, also 11596-11612), and that override is computed as filament_tower_interface_print_temp, falling back to nozzle_temperature_range_high (GCode.cpp:1769-1773 and 11439-11441).
  • This override is gated on enable_tower_interface_features && tcr.is_contact, i.e. it only fires when the wipe/prime-tower interface feature is active. So the reporter's symptom matches the interface-purge bump being exposed through the [nozzle_temperature] token.
  • It is OS-independent (reporter was on Windows, but the logic is platform-neutral), so it can be reproduced here by slicing a multi-filament 3MF on Linux (CLI or Xvfb) and checking the M104/M109 lines emitted right after a toolchange. Next step is to confirm whether the user's printer actually has the tower-interface feature enabled (intended "purge hot" behavior) or whether the override is leaking into the ordinary toolchange path (a genuine bug).

Cause

src/libslic3r/GCode.cpp: when toolchange_temp_override > 0 the placeholder/temperature and nozzle_temperature for the new filament are deliberately overwritten (GCode.cpp:11456-11458 and the parallel path at 11608-11612), with the override defaulting to nozzle_temperature_range_high (GCode.cpp:1770-1773, 11441). So during that block [nozzle_temperature] yields range_high rather than the per-filament nozzle_temperature set normally at GCode.cpp:11097.

Triage summary

During a filament-change, the G-code placeholder [nozzle_temperature] can resolve to the nozzle_temperature_range_high value instead of the configured nozzle_temperature. This is G-code/placeholder-substitution logic in the slicer and is reproducible on Linux by slicing a multi-filament project and inspecting the toolchange output.

Issue text on GitHub

Is this issue reproducible in the latest nightly build?

  • [x] I have checked the latest nightly build and the issue is still reproducible

Is there an existing issue for this problem?

  • [x] I have searched the existing issues

OrcaSlicer Version

2.4.2

Regression compared to a previous version

No response

Operating System (OS)

Windows

OS Version

Windows10

Additional system information

No response

Printer

Snaomaker J1S

How to reproduce

When changing filaments, the G-code sets the maximum nozzle temperature:

"nozzle_temperature_range_high" and not "nozzle_temperature".

Actual results

"nozzle_temperature_range_high" and not "nozzle_temperature".

Expected results

The entered parameter is correct, but the wrong one is being used.

M109 T[next_extruder] S{if layer_num < 1}[nozzle_temperature_initial_layer]{else}[nozzle_temperature]{endif} C3 W1 ;wait T[next_extruder]

The parameter "nozzle_temperature_range_high" is being used, not "nozzle_temperature".

Project file & Debug log uploads

none necessary

Checklist of files to include

  • [ ] Log file
  • [ ] Project file

Anything else?

No response

Area
gcode
Platform
all
Author
JohannUnger
Comments
3
Created
2026-08-27
bugstale

Log

  1. vast-tw took it: reproduce
    vast-tw · 18 min ago
  2. Worker restarting; back in the queue
    vast-tw · 18 min ago
  3. vast-tw took it: reproduce
    vast-tw · 1 h ago
  4. Worker restarting; back in the queue
    vast-tw · 1 h ago
  5. vast-tw took it: reproduce
    vast-tw · 1 h ago
  6. vast-tw restarted; returned to the queue
    vast-tw · 1 h ago
  7. vast-tw took it: reproduce
    vast-tw · 1 h ago
  8. triage: triaged
    vast-tw · 1 h ago
  9. vast-tw took it: triage
    vast-tw · 1 h ago
  10. Collected from GitHub
    panel · 3 h ago
vast-tw is reproducing this issue, since 18 min ago.