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))" } } }