From 59f5bcb1cdc05af252c8d0741d13db25f37bf190 Mon Sep 17 00:00:00 2001 From: Tim Kuipers Date: Mon, 11 Apr 2016 18:57:37 +0200 Subject: [PATCH] feat: infill overlap in mm (besides %) (CURA-786) --- resources/machines/fdmprinter.json | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/resources/machines/fdmprinter.json b/resources/machines/fdmprinter.json index 7aa9a4311f..24a862ef70 100644 --- a/resources/machines/fdmprinter.json +++ b/resources/machines/fdmprinter.json @@ -572,14 +572,28 @@ "inherit_function": "'lines' if infill_sparse_density > 25 else 'grid'" }, "infill_overlap": { - "label": "Infill Overlap", + "label": "Infill Overlap Percentage", "description": "The amount of overlap between the infill and the walls. A slight overlap allows the walls to connect firmly to the infill.", "unit": "%", "type": "float", "default": 10, + "inherit_function": "10 if infill_sparse_density < 95 else 0", "min_value": "0", "max_value_warning": "100", - "visible": false + "visible": false, + "children": { + "infill_overlap_mm": { + "label": "Infill Overlap", + "description": "The amount of overlap between the infill and the walls. A slight overlap allows the walls to connect firmly to the infill.", + "unit": "mm", + "type": "float", + "default": 0.04, + "min_value_warning": "0", + "max_value_warning": "machine_nozzle_size", + "inherit_function": "infill_line_width * parent_value / 100", + "visible": false + }, + } }, "infill_wipe_dist": { "label": "Infill Wipe Distance",