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

@ -31,7 +31,7 @@ speed_layer_0 = =round(speed_print * 30 / 40)
speed_print = 40
support_angle = 45
support_enable = True
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_pattern = lines
support_z_distance = 0.26
top_bottom_thickness = 1.2