Skip to content

Conversation

@HellAholic
Copy link
Contributor

Description

The material standby temperature is used under preferences, materials tab. This value must be resolved in order to be displayed in the UI. Currently, this will cause a hard crash as it expects a float value but receives a setting name.
Secondary fix: default_value cannot be overridden with a setting function and it does not have a resolve function therefore the final value must be used if the default_value requires an override.

#21234

Few other printer examples were previously fixed.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Printer definition file(s)

How Has This Been Tested?

  1. Stablish baseline: Load the changed printers in previous version of Cura - before the change - and go to preferences -> materials -> this results in a hard crash
  2. Change the definition files: Update the definition files based on this PR and follow the same steps. There should not be a crash and the material standby temperature field should display a float non-zero value

Test Configuration:

  • Operating System:
  • Windows 11

Checklist:

Deleted the material_standby_temperature setting from the Anycubic Kobra 3V2 ACE PRO definition file, likely to streamline or correct printer configuration.
Changed the 'material_standby_temperature' value to use resolveOrValue('material_print_temperature') for improved parameter resolution and consistency.
Changed the 'material_standby_temperature' value to use resolveOrValue('material_print_temperature') for improved parameter resolution and consistency.
Changed the 'material_standby_temperature' value to use resolveOrValue('material_print_temperature') for improved parameter resolution.
Changed the value of material_standby_temperature to use resolveOrValue('material_print_temperature') instead of directly referencing material_print_temperature. This may improve dynamic resolution of the standby temperature setting.
Changed the value of material_standby_temperature to use resolveOrValue('material_print_temperature') for improved parameter resolution.
Changed the 'material_standby_temperature' value to use resolveOrValue('material_print_temperature') for dynamic resolution in deltacomb_dc30flux.def.json.
Changed the value of 'material_standby_temperature' to use resolveOrValue('material_print_temperature') for improved dynamic resolution.
Changed the value of material_standby_temperature to use resolveOrValue('material_print_temperature') for improved parameter resolution in koonovo_kn3.def.json.
Changed the value of material_standby_temperature to use resolveOrValue('material_print_temperature') for improved dynamic resolution.
Changed the 'material_standby_temperature' value to use resolveOrValue('material_print_temperature') instead of referencing the variable directly. This may improve dynamic resolution of the standby temperature based on the print temperature.
@HellAholic HellAholic added PR: Community Contribution 👑 Community Contribution PR's PR: BooBoos 😇 Suggestions for Typos, like the NoMesh or there is a suggested refactor labels Dec 18, 2025
@github-actions
Copy link
Contributor

Test Results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit c8415eb. ± Comparison against base commit b4eb120.

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

Labels

PR: BooBoos 😇 Suggestions for Typos, like the NoMesh or there is a suggested refactor PR: Community Contribution 👑 Community Contribution PR's

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants