From 6047d85c7f9bd5a02cc778ca01afe4210f10ac25 Mon Sep 17 00:00:00 2001 From: Tim Kuipers Date: Tue, 18 Aug 2015 17:14:22 +0200 Subject: [PATCH] JSON: 100% infill bugfix: 100% infill now triggers all layers to be bottom layers --- resources/settings/fdmprinter.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/settings/fdmprinter.json b/resources/settings/fdmprinter.json index d06ecf49f3..7dc8f6db27 100644 --- a/resources/settings/fdmprinter.json +++ b/resources/settings/fdmprinter.json @@ -321,7 +321,7 @@ "default": 6, "type": "int", "visible": false, - "inherit_function": "math.ceil(parent_value / layer_height)" + "inherit_function": "0 if support_infill_rate == 100 else math.ceil(parent_value / layer_height)" } } }, @@ -341,7 +341,7 @@ "default": 6, "type": "int", "visible": false, - "inherit_function": "math.ceil(parent_value / layer_height)" + "inherit_function": "999999 if support_infill_rate == 100 else math.ceil(parent_value / layer_height)" } } }