From f0262abbb5ac6a32f51e137f9ff3ff6cb9a12a39 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 13 Oct 2021 15:46:35 +0200 Subject: [PATCH] Combine two property overrides in one setting, for proper JSON Otherwise the maximum gets ignored because the JSON results in a dict where the keys are unique. So the second one happens to get skipped then. Contributes to issue CURA-8627. --- .../ultimaker2_plus_connect.def.json | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/resources/definitions/ultimaker2_plus_connect.def.json b/resources/definitions/ultimaker2_plus_connect.def.json index c0ddcf813f..be143516ad 100644 --- a/resources/definitions/ultimaker2_plus_connect.def.json +++ b/resources/definitions/ultimaker2_plus_connect.def.json @@ -63,17 +63,23 @@ "optimize_wall_printing_order": { "value": "True" }, "zig_zaggify_infill": { "value": "gradual_infill_steps == 0" }, "speed_support": { "value": "speed_wall_0" }, - "material_initial_print_temperature": { "value": "material_print_temperature" }, - "material_final_print_temperature": { "value": "material_print_temperature" }, - "material_print_temperature_layer_0": { "value": "material_print_temperature" }, + "material_initial_print_temperature": { + "value": "material_print_temperature", + "maximum_value": 260 + }, + "material_final_print_temperature": { + "value": "material_print_temperature", + "maximum_value": 260 + }, + "material_print_temperature_layer_0": { + "value": "material_print_temperature", + "maximum_value": 260 + }, "machine_start_gcode": { "value": "''" }, "machine_end_gcode": { "value": "''" }, "material_bed_temperature": { "maximum_value": 110 }, "material_bed_temperature_layer_0": { "maximum_value": 110 }, "material_print_temperature": { "maximum_value": 260 }, - "material_print_temperature_layer_0": { "maximum_value": 260 }, - "material_initial_print_temperature": { "maximum_value": 260 }, - "material_final_print_temperature": { "maximum_value": 260 }, "meshfix_maximum_resolution": { "value": "(speed_wall_0 + speed_wall_x) / 60" }, "meshfix_maximum_deviation": { "value": "layer_height / 4" }, "meshfix_maximum_travel_resolution": { "value": 0.5 },