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

Getting settings based on initial_extruder_nr in machine start gcode outputs wrong format #17923

Open
ansonl opened this issue Jan 7, 2024 · 1 comment
Labels
Status: Duplicate Duplicate of another issue. Type: Bug The code does not produce the intended behavior.

Comments

@ansonl
Copy link
Contributor

ansonl commented Jan 7, 2024

Cura Version

5.6

Operating System

Windows 10

Printer

Ultimaker 2+ DXU / Any printer

Reproduction steps

  1. Have machine start gcode that accesses an extruder specific setting based on initial_extruder_nr.
M104 T{initial_extruder_nr} S{material_print_temperature_layer_0, initial_extruder_nr}
  1. Slice and view the gcode

Mentioned and related to
#17894
#17890

Actual results

The gcode is evaluated as:

M104 T0 S(200, 0)

which is not valid format. The output of {material_print_temperature_layer_0, initial_extruder_nr} should return the material_print_temperature_layer_0 for initial_extruder_nr extruder and not in parantheses.

Expected results

Previously in Cura 5.4 the gcode is correctly evaluated as:

M104 T0 S200

Add your .zip and screenshots here ⬇️

See expected and actual results

@ansonl ansonl added Status: Triage This ticket requires input from someone of the Cura team Type: Bug The code does not produce the intended behavior. labels Jan 7, 2024
@Asterchades Asterchades added Status: Duplicate Duplicate of another issue. and removed Status: Triage This ticket requires input from someone of the Cura team labels Jan 7, 2024
@Asterchades
Copy link
Collaborator

This would appear to be a duplicate of #17501.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Duplicate Duplicate of another issue. Type: Bug The code does not produce the intended behavior.
Projects
None yet
Development

No branches or pull requests

2 participants