Custom g-code is not referencing desired variables for filament temperature
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
Operating System (OS)
Windows
OS Version
Windows 11
Additional system information
No response
Printer
Custom Ender3 Klipper Toolchanger
How to reproduce
Create a custom "Change Filament G-code" such as the example that follows:
- M104 S{nozzle_temperature[next_extruder]} T[next_extruder] ; set new tool temperature so it can start heating while changing
After slicing the file and checking the G-code at the filament swap while using any of the variables; "nozzle_temperature", "first_layer_temperature" or "nozzle_temperature_initial_layer", the sliced file will have the filament's "nozzle_temperature_range_high" value within the "M104" command in contrast to the desired value.
Actual results
Improper temperature value is displayed within G-code file's contents:
"Machine start g-code" using "first_layer_temperature" has filament's proper "Nozzle: First layer" value and appears unaffected
Expected results
Whichever temperature variable that is outlined within the custom G-code should be used in the file generated by the slicer
Project file & Debug log uploads
Checklist of files to include
- [ ] Log file
- [x] Project file
Anything else?
No response
You dont need to use the temp call in the "change filament g-code"... the ooze prevention option in the print settings/mutimaterial tab does that.
You dont need to use the temp call in the "change filament g-code"... the ooze prevention option in the print settings/mutimaterial tab does that.
Thank you, I'll have to try that later.
Thought I started my adventure today with that turned on before going down the rabbit hole of my config, checking the klipper tool changer repo (where i got the filament change g-code from)