Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect values in the StartUp G-code "Replacement Patterns" #1912

Open
GregValiant opened this issue Jul 21, 2023 · 0 comments
Open

Incorrect values in the StartUp G-code "Replacement Patterns" #1912

GregValiant opened this issue Jul 21, 2023 · 0 comments

Comments

@GregValiant
Copy link
Collaborator

GregValiant commented Jul 21, 2023

Application Version

5.4.0 , 4.13.1

Platform

Windows 10 Home
Qt
n/a

PyQt
n/a

Display Driver
n/a

Steps to Reproduce
Set up a dual extruder printer with a raised model and set the support to T1 and the model to T0.
T0 print temperature to 200
T1 print temperature to 220
Within the StartUp Gcode are:
M104 S{material_print_temperature_layer_0}
M109 S{material_print_temperature_layer_0}

Actual Results
;Generated with Cura_SteamEngine 5.4.0
T1
M82 ;absolute extrusion mode
;SV04 start
M140 S60;
M104 S200 ; This is the replacement temperature and is always the temperature for Extruder[0] though T1 starts the print.

Expected results
;Generated with Cura_SteamEngine 5.4.0
T1
M82 ;absolute extrusion mode
;SV04 start
M140 S60;
M104 S220 ; This is the temperature of the Extruder[current_extruder] which in this case is T1

When there are no replacement patterns in the startup
;Generated with Cura_SteamEngine 5.4.0
T1
M104 T0 S175
M104 S220
M105
M109 T0 S175
M105
M109 S220
M82 ;absolute extrusion mode
;SV04 start
M140 S60;

When the replacement pattern {initial_extruder_nr} is in the startup:
Initial Extruder nr: T0 ; but the initial extruder in this example is T1

When the StartUp Gcode contains hot end temperature replacement patterns and the print temperatures are different for T0 and T1, and the print starts with any extruder other than T0 then the temperature at the start of the print will be incorrect.

Expected Results II
The hot end temperature replacements should be for the active extruder. The initial_extruder_nr should likewise be for the active extruder.

Additional Information

This is from Cura bug report #16214.
Project file.
ReplacementPatternReport.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant