From 23c5fab0a17c858a3d37e22953397906a5eb52f7 Mon Sep 17 00:00:00 2001 From: the Raz Date: Mon, 6 Nov 2023 01:20:06 +0100 Subject: [PATCH] Allow line width of nozzle diameter * 2.5 As it were, 1 mm would be disallowed but 0.99 would be allowed for 0.4 nozzle. 1 mm is the sane maximum and 0.99 is unnecessary tedious to write. --- src/libslic3r/Print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/Print.cpp b/src/libslic3r/Print.cpp index b7e19702b..ea798e94e 100644 --- a/src/libslic3r/Print.cpp +++ b/src/libslic3r/Print.cpp @@ -1165,7 +1165,7 @@ StringObjectException Print::validate(StringObjectException *warning, Polygons* } else if (extrusion_width_min <= layer_height) { err_msg = L("Too small line width"); return false; - } else if (extrusion_width_max >= max_nozzle_diameter * 2.5) { + } else if (extrusion_width_max > max_nozzle_diameter * 2.5) { err_msg = L("Too large line width"); return false; }