From 55f0c10f94d001dfa73b429c8c9c1859f11fef99 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 5 Oct 2020 17:59:57 +0200 Subject: [PATCH] Upgrade usage of support_tree_enabled This setting no longer exists. Contributes to issue CURA-7752. --- resources/definitions/biqu_base.def.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/definitions/biqu_base.def.json b/resources/definitions/biqu_base.def.json index 3b54fa5dfc..ad85be02ff 100755 --- a/resources/definitions/biqu_base.def.json +++ b/resources/definitions/biqu_base.def.json @@ -142,13 +142,13 @@ "meshfix_maximum_resolution": { "value": "0.05" }, "meshfix_maximum_travel_resolution": { "value": "meshfix_maximum_resolution" }, - "support_angle": { "value": "math.floor(math.degrees(math.atan(line_width/2.0/layer_height)))" }, + "support_angle": { "value": "math.floor(math.degrees(math.atan(line_width / 2.0 / layer_height)))" }, "support_pattern": { "value": "'zigzag'" }, - "support_infill_rate": { "value": "0 if support_tree_enable else 20" }, + "support_infill_rate": { "value": "0 if support_structure == 'tree' else 20" }, "support_use_towers": { "value": false }, "support_xy_distance": { "value": "wall_line_width_0 * 2" }, "support_xy_distance_overhang": { "value": "wall_line_width_0" }, - "support_z_distance": { "value": "layer_height if layer_height >= 0.16 else layer_height*2" }, + "support_z_distance": { "value": "layer_height if layer_height >= 0.16 else layer_height * 2" }, "support_xy_overrides_z": { "value": "'xy_overrides_z'" }, "support_wall_count": { "value": 1 }, "support_brim_enable": { "value": true },