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'snozzle_temperature(andtemperature) placeholder withtoolchange_temp_override(GCode.cpp:11444-11462, also11596-11612), and that override is computed asfilament_tower_interface_print_temp, falling back tonozzle_temperature_range_high(GCode.cpp:1769-1773and11439-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
Log
- vast-tw took it: reproducevast-tw · 18 min ago
- Worker restarting; back in the queuevast-tw · 18 min ago
- vast-tw took it: reproducevast-tw · 1 h ago
- Worker restarting; back in the queuevast-tw · 1 h ago
- vast-tw took it: reproducevast-tw · 1 h ago
- vast-tw restarted; returned to the queuevast-tw · 1 h ago
- vast-tw took it: reproducevast-tw · 1 h ago
- triage: triagedvast-tw · 1 h ago
- vast-tw took it: triagevast-tw · 1 h ago
- Collected from GitHubpanel · 3 h ago