From 290b8f4307768aa13b3a788322f945e03faad991 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 12 Aug 2019 13:23:42 +0200 Subject: [PATCH] Add formulas to the definition file so they get notified of updates This is a work around for a rather fundamental issue with the current setting system; The relationships are only created based on the definitions. So if a definition doesn't have a formula, but a profile does, it doesn't get updated in the interface. CURA-6708 --- resources/definitions/creality_base.def.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/definitions/creality_base.def.json b/resources/definitions/creality_base.def.json index e7c8bda891..440e93a948 100644 --- a/resources/definitions/creality_base.def.json +++ b/resources/definitions/creality_base.def.json @@ -137,7 +137,9 @@ "support_interface_pattern": { "value": "'grid'" }, "support_interface_skip_height": { "value": 0.2}, "minimum_support_area": { "value": 10}, - "minimum_interface_area": { "value": 10} + "minimum_interface_area": { "value": 10}, + "top_bottom_thickness": {"value": "layer_height_0 + layer_height * 3"}, + "wall_thickness": {"value": "line_width * 2"} }, "metadata": {