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.
This commit is contained in:
the Raz 2023-11-06 01:20:06 +01:00 committed by Lane.Wei
parent 48ea5142c9
commit 23c5fab0a1
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}