Take support_enable into account when evaluating support_structure.

Unsure whether this is necessary, but we decided to do this to make
the evaluation logically equivalent to the existing code currently
in master.

CURA-6711
This commit is contained in:
Nino van Hooff 2020-07-14 09:44:40 +02:00
parent bc34c8dd0b
commit 617b07061d
55 changed files with 56 additions and 56 deletions

View file

@ -94,7 +94,7 @@ support_angle = 50
support_pattern = grid
support_wall_count = 0
zig_zaggify_support = False
support_infill_rate = =20 if support_structure=='normal' else 0 if support_structure=='tree' else 20
support_infill_rate = =20 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 20
support_infill_angles = [0]
support_brim_enable = True
support_brim_line_count = 5

View file

@ -94,7 +94,7 @@ support_angle = 50
support_pattern = grid
support_wall_count = 0
zig_zaggify_support = False
support_infill_rate = =15 if support_structure=='normal' else 0 if support_structure=='tree' else 15
support_infill_rate = =15 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 15
support_infill_angles = [0]
support_brim_enable = True
support_brim_line_count = 5

View file

@ -94,7 +94,7 @@ support_angle = 50
support_pattern = grid
support_wall_count = 0
zig_zaggify_support = False
support_infill_rate = =20 if support_structure=='normal' else 0 if support_structure=='tree' else 20
support_infill_rate = =20 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 20
support_infill_angles = [0]
support_brim_enable = True
support_brim_line_count = 5