From db904992311a418d045ec7eec464a8e87fe5697f Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Thu, 5 Jun 2025 14:46:03 +0200 Subject: [PATCH] Add setting for roofing extension CURA-12446 --- resources/definitions/fdmprinter.def.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index e633017431..8afba9b8bb 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -1542,6 +1542,19 @@ "enabled": "roofing_pattern != 'concentric' and roofing_layer_count > 0 and top_layers > 0", "limit_to_extruder": "roofing_extruder_nr", "settable_per_mesh": true + }, + "roofing_extension": + { + "label": "Top Surface Extension", + "description": "Determines how much the top surfaces are extended beneath overlapping surfaces. By adjusting this value, you can ensure that the outer edges of the top surfaces are concealed by the layers above, resulting in a better visual quality, particularly for models with curved surfaces.", + "type": "float", + "default_value": "0.4", + "value": "roofing_line_width * (wall_line_count_roofing + 1)", + "minimum_value": "0", + "maximum_value_warning": "roofing_line_width * 10", + "enabled": "roofing_layer_count > 0 and top_layers > 0", + "limit_to_extruder": "roofing_extruder_nr", + "settable_per_mesh": true } } },