diff --git a/resources/machines/fdmprinter.json b/resources/machines/fdmprinter.json index a283e1fcfd..5f918bf047 100644 --- a/resources/machines/fdmprinter.json +++ b/resources/machines/fdmprinter.json @@ -256,7 +256,6 @@ "min_value_warning": "0.2", "max_value_warning": "5", "type": "float", - "inherit_function": "parent_value", "visible": false, "children": { "wall_line_count": { @@ -454,7 +453,7 @@ "type": "float", "default": 2, "visible": false, - "inherit_function": "0 if parent_value == 0 else (infill_line_width * 100) / parent_value" + "inherit_function": "0 if infill_sparse_density == 0 else (infill_line_width * 100) / infill_sparse_density" } } }, @@ -505,7 +504,7 @@ "type": "int", "default": 1, "visible": false, - "inherit_function": "math.floor((parent_value + 0.001) / layer_height)" + "inherit_function": "math.floor(( parent_value + 0.001) / layer_height)" } } },