From c109bc36137488d9887a810fbf49ace619814d9c Mon Sep 17 00:00:00 2001 From: Rijk van Manen Date: Mon, 15 Nov 2021 15:23:17 +0100 Subject: [PATCH] revert 100% density pattern hack In the fdmprinter definition the 'infill' is created by 999999 bottom layers to change to infill pattern to lines. This hack is reverted for ultimaker printers. More info: PP-25 --- resources/definitions/ultimaker.def.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/definitions/ultimaker.def.json b/resources/definitions/ultimaker.def.json index 3dc3555266..279ce92359 100644 --- a/resources/definitions/ultimaker.def.json +++ b/resources/definitions/ultimaker.def.json @@ -58,6 +58,12 @@ }, "meshfix_maximum_extrusion_area_deviation": { "value": "50000" + }, + "top_layers": { + "value": "math.ceil(round(top_thickness / resolveOrValue('layer_height'), 4))" + }, + "bottom_layers": { + "value": "math.ceil(round(bottom_thickness / resolveOrValue('layer_height'), 4))" } } }