Browse Source

Fix support density when using tree support on engineering materials

These formulas were using a setting that didn't exist any more.
Not sure how this got through QA. Oh well, this is what they are intending.
This formula is a little bit weird in how it works with support meshes if support is disabled, but it's more or less as good as it gets. The formula is mirrored from how other Ultimaker printers write it down, but slightly simplified with the same outcome.
Ghostkeeper 4 years ago
parent
commit
000d7e90f5

+ 1 - 1
resources/quality/ultimaker2_plus_connect/um2pc_cpep_0.4_draft.inst.cfg

@@ -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_enable else 0 if support_tree_enable else 20
+support_infill_rate = =0 if support_enable and support_structure == 'tree' else 20
 support_pattern = lines
 support_z_distance = 0.26
 top_bottom_thickness = 1.5

+ 1 - 1
resources/quality/ultimaker2_plus_connect/um2pc_cpep_0.4_normal.inst.cfg

@@ -34,7 +34,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_enable else 0 if support_tree_enable else 20
+support_infill_rate = =0 if support_enable and support_structure == 'tree' else 20
 support_pattern = lines
 support_z_distance = 0.26
 top_bottom_thickness = 1.5

+ 1 - 1
resources/quality/ultimaker2_plus_connect/um2pc_cpep_0.6_draft.inst.cfg

@@ -36,7 +36,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_enable else 0 if support_tree_enable else 20
+support_infill_rate = =0 if support_enable and support_structure == 'tree' else 20
 support_line_distance = 2.85
 support_pattern = lines
 support_xy_distance = 0.6

+ 1 - 1
resources/quality/ultimaker2_plus_connect/um2pc_cpep_0.6_normal.inst.cfg

@@ -36,7 +36,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_enable else 0 if support_tree_enable else 20
+support_infill_rate = =0 if support_enable and support_structure == 'tree' else 20
 support_line_distance = 2.85
 support_pattern = lines
 support_xy_distance = 0.6

+ 1 - 1
resources/quality/ultimaker2_plus_connect/um2pc_cpep_0.8_draft.inst.cfg

@@ -33,7 +33,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_enable else 0 if support_tree_enable else 20
+support_infill_rate = =0 if support_enable and support_structure == 'tree' else 20
 support_pattern = lines
 support_z_distance = 0.26
 top_bottom_thickness = 1.2

+ 1 - 1
resources/quality/ultimaker2_plus_connect/um2pc_cpep_0.8_normal.inst.cfg

@@ -33,7 +33,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_enable else 0 if support_tree_enable else 20
+support_infill_rate = =0 if support_enable and support_structure == 'tree' else 20
 support_pattern = lines
 support_z_distance = 0.26
 top_bottom_thickness = 1.2

+ 1 - 1
resources/quality/ultimaker2_plus_connect/um2pc_nylon_0.25_high.inst.cfg

@@ -34,7 +34,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_enable else 0 if support_tree_enable else 20
+support_infill_rate = =0 if support_enable and support_structure == 'tree' else 20
 support_pattern = lines
 support_xy_distance = 0.6
 support_z_distance = =layer_height * 2

+ 1 - 1
resources/quality/ultimaker2_plus_connect/um2pc_nylon_0.25_normal.inst.cfg

@@ -34,7 +34,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_enable else 0 if support_tree_enable else 20
+support_infill_rate = =0 if support_enable and support_structure == 'tree' else 20
 support_pattern = lines
 support_xy_distance = 0.6
 support_z_distance = =layer_height * 2

+ 1 - 1
resources/quality/ultimaker2_plus_connect/um2pc_nylon_0.4_fast.inst.cfg

@@ -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_enable else 0 if support_tree_enable else 25
+support_infill_rate = =0 if support_enable and support_structure == 'tree' else 25
 support_pattern = lines
 support_xy_distance = 0.6
 support_z_distance = =layer_height * 2

+ 1 - 1
resources/quality/ultimaker2_plus_connect/um2pc_nylon_0.4_normal.inst.cfg

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

Some files were not shown because too many files changed in this diff