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

@ -44,7 +44,7 @@ support_top_distance = 0.15
support_z_distance = 0.25
support_bottom_distance = 0.15
support_brim_width = 6
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_line_distance = 1.7
support_line_width = 0.25
support_initial_layer_line_distance = 2.7

View file

@ -44,7 +44,7 @@ support_top_distance = 0.15
support_z_distance = 0.25
support_bottom_distance = 0.15
support_brim_width = 6
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_line_distance = 1.7
support_line_width = 0.25
support_initial_layer_line_distance = 2.7

View file

@ -44,7 +44,7 @@ support_top_distance = 0.15
support_z_distance = 0.25
support_bottom_distance = 0.15
support_brim_width = 6
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_line_distance = 1.7
support_line_width = 0.25
support_initial_layer_line_distance = 2.7

View file

@ -96,7 +96,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

@ -95,7 +95,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

@ -95,7 +95,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

@ -96,7 +96,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

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

View file

@ -96,7 +96,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

@ -95,7 +95,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 = =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

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

View file

@ -37,4 +37,4 @@ support_angle = 45
support_join_distance = 5
support_offset = 2
support_pattern = triangles
support_infill_rate = =10 if support_structure=='normal' else 0 if support_structure=='tree' else 10
support_infill_rate = =10 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 10

View file

@ -36,4 +36,4 @@ support_angle = 45
support_join_distance = 5
support_offset = 2
support_pattern = triangles
support_infill_rate = =10 if support_structure=='normal' else 0 if support_structure=='tree' else 10
support_infill_rate = =10 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 10

View file

@ -32,6 +32,6 @@ support_angle = 45
support_join_distance = 5
support_offset = 2
support_pattern = triangles
support_infill_rate = =10 if support_structure=='normal' else 0 if support_structure=='tree' else 10
support_infill_rate = =10 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 10
top_bottom_thickness = 1
wall_thickness = 1

View file

@ -37,4 +37,4 @@ support_angle = 45
support_join_distance = 5
support_offset = 2
support_pattern = triangles
support_infill_rate = =10 if support_structure=='normal' else 0 if support_structure=='tree' else 10
support_infill_rate = =10 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 10

View file

@ -36,4 +36,4 @@ support_angle = 45
support_join_distance = 5
support_offset = 2
support_pattern = triangles
support_infill_rate = =10 if support_structure=='normal' else 0 if support_structure=='tree' else 10
support_infill_rate = =10 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 10

View file

@ -33,6 +33,6 @@ support_angle = 45
support_join_distance = 5
support_offset = 2
support_pattern = triangles
support_infill_rate = =10 if support_structure=='normal' else 0 if support_structure=='tree' else 10
support_infill_rate = =10 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 10
top_bottom_thickness = 1
wall_thickness = 1

View file

@ -37,4 +37,4 @@ support_angle = 45
support_join_distance = 5
support_offset = 2
support_pattern = triangles
support_infill_rate = =10 if support_structure=='normal' else 0 if support_structure=='tree' else 10
support_infill_rate = =10 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 10

View file

@ -36,4 +36,4 @@ support_angle = 45
support_join_distance = 5
support_offset = 2
support_pattern = triangles
support_infill_rate = =10 if support_structure=='normal' else 0 if support_structure=='tree' else 10
support_infill_rate = =10 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 10

View file

@ -33,6 +33,6 @@ support_angle = 45
support_join_distance = 5
support_offset = 2
support_pattern = triangles
support_infill_rate = =10 if support_structure=='normal' else 0 if support_structure=='tree' else 10
support_infill_rate = =10 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 10
top_bottom_thickness = 1
wall_thickness = 1