From 35550fc1b432806fd84c4d2d2354327373fd2da6 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 2a22a93124..fb892cbd73 100644 --- a/resources/definitions/ultimaker.def.json +++ b/resources/definitions/ultimaker.def.json @@ -43,6 +43,12 @@ }, "skin_angles": { "value": "[] if infill_pattern not in ['cross', 'cross_3d'] else [20, 110]" + }, + "top_layers": { + "value": "math.ceil(round(top_thickness / resolveOrValue('layer_height'), 4))" + }, + "bottom_layers": { + "value": "math.ceil(round(bottom_thickness / resolveOrValue('layer_height'), 4))" } } }