From 1ed10610b1e7df9a625d96dafaee663f3a06d033 Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Fri, 5 Jul 2024 13:18:57 +0200 Subject: [PATCH 1/2] Change default_value to value This is necessary because the parent definition of the settings has changed --- resources/definitions/Mark2_for_Ultimaker2.def.json | 4 ++-- resources/definitions/dxu.def.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/definitions/Mark2_for_Ultimaker2.def.json b/resources/definitions/Mark2_for_Ultimaker2.def.json index a3c5f5e06b..2eedb7ef20 100644 --- a/resources/definitions/Mark2_for_Ultimaker2.def.json +++ b/resources/definitions/Mark2_for_Ultimaker2.def.json @@ -67,12 +67,12 @@ "layer_height_0": { "value": "round(machine_nozzle_size / 1.5, 2)" }, "layer_start_x": { - "default_value": 105.0, + "value": 105.0, "enabled": false }, "layer_start_y": { - "default_value": 27.0, + "value": 27.0, "enabled": false }, "line_width": { "value": "round(machine_nozzle_size * 0.875, 2)" }, diff --git a/resources/definitions/dxu.def.json b/resources/definitions/dxu.def.json index ebe94ee169..602098aa05 100644 --- a/resources/definitions/dxu.def.json +++ b/resources/definitions/dxu.def.json @@ -52,12 +52,12 @@ "layer_height_0": { "value": "round(machine_nozzle_size / 1.5, 2)" }, "layer_start_x": { - "default_value": 180.0, + "value": 180.0, "enabled": false }, "layer_start_y": { - "default_value": 160.0, + "value": 160.0, "enabled": false }, "line_width": { "value": "round(machine_nozzle_size * 0.875, 2)" }, From a3349baf6c4f4a5e0e6089f4d2d6826a523ceef9 Mon Sep 17 00:00:00 2001 From: wawanbreton Date: Fri, 5 Jul 2024 11:20:44 +0000 Subject: [PATCH 2/2] Applied printer-linter format --- resources/definitions/Mark2_for_Ultimaker2.def.json | 8 ++++---- resources/definitions/dxu.def.json | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/resources/definitions/Mark2_for_Ultimaker2.def.json b/resources/definitions/Mark2_for_Ultimaker2.def.json index 2eedb7ef20..789d5d42ec 100644 --- a/resources/definitions/Mark2_for_Ultimaker2.def.json +++ b/resources/definitions/Mark2_for_Ultimaker2.def.json @@ -67,13 +67,13 @@ "layer_height_0": { "value": "round(machine_nozzle_size / 1.5, 2)" }, "layer_start_x": { - "value": 105.0, - "enabled": false + "enabled": false, + "value": 105.0 }, "layer_start_y": { - "value": 27.0, - "enabled": false + "enabled": false, + "value": 27.0 }, "line_width": { "value": "round(machine_nozzle_size * 0.875, 2)" }, "machine_acceleration": { "default_value": 3000 }, diff --git a/resources/definitions/dxu.def.json b/resources/definitions/dxu.def.json index 602098aa05..c5eb9720f3 100644 --- a/resources/definitions/dxu.def.json +++ b/resources/definitions/dxu.def.json @@ -52,13 +52,13 @@ "layer_height_0": { "value": "round(machine_nozzle_size / 1.5, 2)" }, "layer_start_x": { - "value": 180.0, - "enabled": false + "enabled": false, + "value": 180.0 }, "layer_start_y": { - "value": 160.0, - "enabled": false + "enabled": false, + "value": 160.0 }, "line_width": { "value": "round(machine_nozzle_size * 0.875, 2)" }, "machine_acceleration": { "default_value": 3000 },