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

@ -35,7 +35,7 @@ speed_wall_0 = =math.ceil(speed_print * 20 / 25)
speed_wall_x = =speed_print
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.5

View file

@ -35,7 +35,7 @@ speed_wall_0 = =math.ceil(speed_print * 20 / 35)
speed_wall_x = =math.ceil(speed_print * 30 / 35)
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.5

View file

@ -37,7 +37,7 @@ speed_wall_0 = =math.ceil(speed_print * 20 / 25)
speed_wall_x = =speed_print
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_line_distance = 2.85
support_pattern = lines
support_xy_distance = 0.6

View file

@ -37,7 +37,7 @@ speed_wall_0 = =math.ceil(speed_print * 30 / 35)
speed_wall_x = =speed_print
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_line_distance = 2.85
support_pattern = lines
support_xy_distance = 0.6

View file

@ -34,7 +34,7 @@ speed_wall_0 = =math.ceil(speed_print * 20 / 25)
speed_wall_x = =speed_print
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

View file

@ -34,7 +34,7 @@ speed_wall_0 = =math.ceil(speed_print * 20 / 30)
speed_wall_x = =speed_print
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

View file

@ -35,7 +35,7 @@ speed_travel = 150
speed_wall_0 = =math.ceil(speed_print * 20 / 40)
speed_wall_x = =speed_print
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_xy_distance = 0.6
support_z_distance = =layer_height * 2

View file

@ -35,7 +35,7 @@ speed_travel = 150
speed_wall_0 = =math.ceil(speed_print * 20 / 40)
speed_wall_x = =speed_print
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_xy_distance = 0.6
support_z_distance = =layer_height * 2

View file

@ -34,7 +34,7 @@ speed_travel = 150
speed_wall = =math.ceil(speed_print * 40 / 45)
support_angle = 45
support_enable = True
support_infill_rate = =25 if support_structure=='normal' else 0 if support_structure=='tree' else 25
support_infill_rate = =25 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 25
support_pattern = lines
support_xy_distance = 0.6
support_z_distance = =layer_height * 2

View file

@ -33,7 +33,7 @@ speed_travel = 150
speed_wall = =math.ceil(speed_print * 40 / 45)
support_angle = 45
support_enable = True
support_infill_rate = =25 if support_structure=='normal' else 0 if support_structure=='tree' else 25
support_infill_rate = =25 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 25
support_pattern = lines
support_xy_distance = 0.6
support_z_distance = =layer_height * 2

View file

@ -38,7 +38,7 @@ speed_wall_x = =math.ceil(speed_print * 40 / 55)
support_angle = 45
support_bottom_distance = 0.55
support_enable = True
support_infill_rate = =25 if support_structure=='normal' else 0 if support_structure=='tree' else 25
support_infill_rate = =25 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 25
support_pattern = lines
support_top_distance = 0.55
support_xy_distance = 0.7

View file

@ -37,7 +37,7 @@ speed_wall_0 = =math.ceil(speed_print * 15 / 55)
speed_wall_x = =math.ceil(speed_print * 40 / 55)
support_angle = 45
support_enable = True
support_infill_rate = =25 if support_structure=='normal' else 0 if support_structure=='tree' else 25
support_infill_rate = =25 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 25
support_pattern = lines
support_xy_distance = 0.7
support_z_distance = =layer_height * 2

View file

@ -37,7 +37,7 @@ speed_wall_x = =math.ceil(speed_print * 40 / 55)
support_angle = 45
support_bottom_distance = 0.65
support_enable = True
support_infill_rate = =25 if support_structure=='normal' else 0 if support_structure=='tree' else 25
support_infill_rate = =25 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 25
support_pattern = lines
support_top_distance = 0.5
support_xy_distance = 0.75

View file

@ -37,7 +37,7 @@ speed_wall_x = =math.ceil(speed_print * 40 / 55)
support_angle = 45
support_bottom_distance = 0.65
support_enable = True
support_infill_rate = =25 if support_structure=='normal' else 0 if support_structure=='tree' else 25
support_infill_rate = =25 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 25
support_pattern = lines
support_top_distance = 0.5
support_xy_distance = 0.75

View file

@ -31,7 +31,7 @@ raft_surface_line_width = 0.2
speed_layer_0 = =round(speed_print * 30 / 30)
speed_print = 30
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.19
wall_thickness = 0.88

View file

@ -31,7 +31,7 @@ raft_surface_line_width = 0.2
speed_layer_0 = =round(speed_print * 30 / 30)
speed_print = 30
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.19
wall_thickness = 0.88

View file

@ -32,7 +32,7 @@ speed_wall_0 = =math.ceil(speed_print * 20 / 45)
speed_wall_x = =math.ceil(speed_print * 30 / 45)
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.19
wall_thickness = 1.2

View file

@ -32,7 +32,7 @@ speed_wall_0 = =math.ceil(speed_print * 20 / 45)
speed_wall_x = =math.ceil(speed_print * 30 / 45)
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.19
wall_thickness = 1.2

View file

@ -36,7 +36,7 @@ speed_wall_0 = =math.ceil(speed_print * 30 / 45)
speed_wall_x = =math.ceil(speed_print * 40 / 45)
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_line_distance = 3.5333
support_pattern = lines
support_z_distance = 0.21

View file

@ -36,7 +36,7 @@ speed_wall_0 = =math.ceil(speed_print * 30 / 45)
speed_wall_x = =math.ceil(speed_print * 40 / 45)
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_line_distance = 3.5333
support_pattern = lines
support_z_distance = 0.21

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 = 2.0

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

View file

@ -35,7 +35,7 @@ speed_wall_0 = =math.ceil(speed_print * 15 / 40)
speed_wall_x = =math.ceil(speed_print * 38 / 40)
support_angle = 45
support_enable = True
support_infill_rate = =25 if support_structure=='normal' else 0 if support_structure=='tree' else 25
support_infill_rate = =25 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 25
support_xy_distance = 0.6
support_z_distance = =layer_height * 2
top_bottom_thickness = 1.2

View file

@ -33,7 +33,7 @@ speed_wall_0 = =math.ceil(speed_print * 20 / 40)
speed_wall_x = =math.ceil(speed_print * 35 / 40)
support_angle = 45
support_enable = True
support_infill_rate = =25 if support_structure=='normal' else 0 if support_structure=='tree' else 25
support_infill_rate = =25 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 25
support_xy_distance = 0.65
support_z_distance = =layer_height * 2
top_bottom_thickness = 1.2

View file

@ -37,7 +37,7 @@ speed_wall_0 = =math.ceil(speed_print * 15 / 45)
speed_wall_x = =math.ceil(speed_print * 40 / 45)
support_angle = 45
support_enable = True
support_infill_rate = =25 if support_structure=='normal' else 0 if support_structure=='tree' else 25
support_infill_rate = =25 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 25
support_xy_distance = 0.7
support_z_distance = =layer_height * 2
top_bottom_thickness = 1.2