From b7661659ae3e53b6f06d1978a248ed22febfecb8 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 28 Jul 2021 16:46:17 +0200 Subject: [PATCH 1/4] Add setting for monotonic skin order Just a simple boolean setting for the skin now. Top surface and ironing will follow later. Contributes to issue CURA-7928. --- resources/definitions/fdmprinter.def.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index dca63aaa5e..c9b91647d3 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -1519,6 +1519,16 @@ "limit_to_extruder": "top_bottom_extruder_nr", "settable_per_mesh": true }, + "skin_monotonic": + { + "label": "Monotonic Top/Bottom Order", + "description": "Print top/bottom lines in an ordering that causes them to always overlap with adjacent lines in a single direction. This takes slightly more time to print, but makes flat surfaces look more consistent.", + "type": "bool", + "default_value": false, + "enabled": "(top_layers > 0 or bottom_layers > 0) and top_bottom_pattern != 'concentric'", + "limit_to_extruder": "top_bottom_extruder_nr", + "settable_per_mesh": true + }, "skin_angles": { "label": "Top/Bottom Line Directions", From b63ccfd71878a7532accbbc2a88f78541d7ac24a Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Thu, 29 Jul 2021 15:45:11 +0200 Subject: [PATCH 2/4] Add setting to apply monotonic ordering to ironing as well Contributes to issue CURA-7928. --- resources/definitions/fdmprinter.def.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index c9b91647d3..d57a814034 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -1596,6 +1596,16 @@ "limit_to_extruder": "top_bottom_extruder_nr", "settable_per_mesh": true }, + "ironing_monotonic": + { + "label": "Monotonic Ironing Order", + "description": "Print ironing lines in an ordering that causes them to always overlap with adjacent lines in a single direction. This takes slightly more time to print, but makes flat surfaces look more consistent.", + "type": "bool", + "default_value": false, + "enabled": "ironing_enabled and ironing_pattern != 'concentric'", + "limit_to_extruder": "top_bottom_extruder_nr", + "settable_per_mesh": true + }, "ironing_line_spacing": { "label": "Ironing Line Spacing", From 0cdd9dd17520d83ba30892f870fc0c021d6ac981 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Thu, 29 Jul 2021 16:16:05 +0200 Subject: [PATCH 3/4] Add setting for monotonic top surface skin You can set it separately, but it defaults to be the same as the rest of the top surface. Contributes to issue CURA-7928. --- resources/definitions/fdmprinter.def.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index d57a814034..5515226eb6 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -6405,6 +6405,17 @@ "settable_per_mesh": true, "enabled": "roofing_layer_count > 0 and top_layers > 0" }, + "roofing_monotonic": + { + "label": "Monotonic Top Surface Order", + "description": "Print top surface lines in an ordering that causes them to always overlap with adjacent lines in a single direction. This takes slightly more time to print, but makes flat surfaces look more consistent.", + "type": "bool", + "default_value": false, + "value": "skin_monotonic", + "enabled": "roofing_layer_count > 0 and top_layers > 0 and roofing_pattern != 'concentric'", + "limit_to_extruder": "roofing_extruder_nr", + "settable_per_mesh": true + }, "roofing_angles": { "label": "Top Surface Skin Line Directions", From 4c35259c72b13565d656e3c646a1b60279042758 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 4 Aug 2021 15:19:00 +0200 Subject: [PATCH 4/4] Allow monotonic skin if initial layer pattern is not concentric Contributes to issue CURA-7928. Co-authored-by: Jaime van Kessel --- resources/definitions/fdmprinter.def.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index 5515226eb6..a38cfc8852 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -1525,7 +1525,7 @@ "description": "Print top/bottom lines in an ordering that causes them to always overlap with adjacent lines in a single direction. This takes slightly more time to print, but makes flat surfaces look more consistent.", "type": "bool", "default_value": false, - "enabled": "(top_layers > 0 or bottom_layers > 0) and top_bottom_pattern != 'concentric'", + "enabled": "(top_layers > 0 or bottom_layers > 0) and (top_bottom_pattern != 'concentric' or top_bottom_pattern_0 != 'concentric')", "limit_to_extruder": "top_bottom_extruder_nr", "settable_per_mesh": true },