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:
parent
48ea5142c9
commit
23c5fab0a1
|
@ -1165,7 +1165,7 @@ StringObjectException Print::validate(StringObjectException *warning, Polygons*
|
||||||
} else if (extrusion_width_min <= layer_height) {
|
} else if (extrusion_width_min <= layer_height) {
|
||||||
err_msg = L("Too small line width");
|
err_msg = L("Too small line width");
|
||||||
return false;
|
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");
|
err_msg = L("Too large line width");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue