From b83193bc0f55d12f9ade808d551929a068d10f2e Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 3 Mar 2021 17:05:01 +0100 Subject: [PATCH] Fix lowest slice height Don't always divide by 2. Just for slicing tolerance: Middle. And then just once. Contributes to issue CURA-7871. --- plugins/SolidView/SolidView.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/SolidView/SolidView.py b/plugins/SolidView/SolidView.py index ac9586eeb5..593648857f 100644 --- a/plugins/SolidView/SolidView.py +++ b/plugins/SolidView/SolidView.py @@ -1,4 +1,4 @@ -# Copyright (c) 2020 Ultimaker B.V. +# Copyright (c) 2021 Ultimaker B.V. # Cura is released under the terms of the LGPLv3 or higher. import os.path @@ -130,7 +130,7 @@ class SolidView(View): tolerance_setting = extruder.getProperty("slicing_tolerance", "value") if tolerance_setting == "middle": init_layer_height /= 2.0 - min_height = max(min_height, init_layer_height / 2.0) + min_height = max(min_height, init_layer_height) return min_height def _checkSetup(self):