From d76850630fcf7efcbf801a0f797389abab0f2aa8 Mon Sep 17 00:00:00 2001 From: HellAholic Date: Mon, 7 Oct 2024 22:27:47 +0200 Subject: [PATCH 1/3] change value to default_value value overrides formula and default value sets the initial value. if value is overridden, the formula cannot update it based on the infill sparse density changes --- resources/definitions/ankermake_m5c.def.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/definitions/ankermake_m5c.def.json b/resources/definitions/ankermake_m5c.def.json index 8a131534be4..6746adc6146 100644 --- a/resources/definitions/ankermake_m5c.def.json +++ b/resources/definitions/ankermake_m5c.def.json @@ -67,7 +67,7 @@ ] }, "infill_extruder_nr": { "value": -1 }, - "infill_line_distance": { "value": 8 }, + "infill_line_distance": { "default_value": 8 }, "infill_material_flow": { "value": 90 }, "infill_pattern": { "value": "'lines' if infill_sparse_density >= 25 else 'grid'" }, "infill_sparse_density": { "value": 10 }, @@ -243,4 +243,4 @@ "wall_x_extruder_nr": { "value": -1 }, "zig_zaggify_infill": { "value": true } } -} \ No newline at end of file +} From 91ec9680a1d8965f9ec42dab677bbcd23513575f Mon Sep 17 00:00:00 2001 From: HellAholic Date: Mon, 7 Oct 2024 20:29:01 +0000 Subject: [PATCH 2/3] Applied printer-linter format --- resources/definitions/ankermake_m5c.def.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/definitions/ankermake_m5c.def.json b/resources/definitions/ankermake_m5c.def.json index 6746adc6146..813374d1df1 100644 --- a/resources/definitions/ankermake_m5c.def.json +++ b/resources/definitions/ankermake_m5c.def.json @@ -243,4 +243,4 @@ "wall_x_extruder_nr": { "value": -1 }, "zig_zaggify_infill": { "value": true } } -} +} \ No newline at end of file From c2dfcfe031279d03a7f07b73c2ff62a79545b00e Mon Sep 17 00:00:00 2001 From: HellAholic Date: Tue, 8 Oct 2024 18:04:06 +0200 Subject: [PATCH 3/3] override is not necessary the fdmprinter definition formula calculates as 8 for 10% infill --- resources/definitions/ankermake_m5c.def.json | 1 - 1 file changed, 1 deletion(-) diff --git a/resources/definitions/ankermake_m5c.def.json b/resources/definitions/ankermake_m5c.def.json index 813374d1df1..2f49e0f030e 100644 --- a/resources/definitions/ankermake_m5c.def.json +++ b/resources/definitions/ankermake_m5c.def.json @@ -67,7 +67,6 @@ ] }, "infill_extruder_nr": { "value": -1 }, - "infill_line_distance": { "default_value": 8 }, "infill_material_flow": { "value": 90 }, "infill_pattern": { "value": "'lines' if infill_sparse_density >= 25 else 'grid'" }, "infill_sparse_density": { "value": 10 },