diff options
author | Jaime van Kessel <nallath@gmail.com> | 2019-08-12 14:23:42 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2019-08-12 14:23:42 +0300 |
commit | 290b8f4307768aa13b3a788322f945e03faad991 (patch) | |
tree | 42494f0a7789ea7834e25f2e25478f1a987b0de9 /resources/definitions/creality_base.def.json | |
parent | 3b9ab9901ecb1d9776e4f8b4f1c145367237d922 (diff) |
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
Diffstat (limited to 'resources/definitions/creality_base.def.json')
-rw-r--r-- | resources/definitions/creality_base.def.json | 4 |
1 files changed, 3 insertions, 1 deletions
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": { |