mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-06 08:36:07 +08:00
.
This commit is contained in:
parent
85e67e9851
commit
1f5dd12c3c
@ -79,7 +79,7 @@ class wallThicknessValidator():
|
||||
lineCount = int(wallThickness / nozzleSize)
|
||||
lineWidth = wallThickness / lineCount
|
||||
lineWidthAlt = wallThickness / (lineCount + 1)
|
||||
if lineWidth > nozzleSize * 1.5 and lineWidthAlt < nozzleSize * 0.85:
|
||||
if lineWidth >= nozzleSize * 1.5 and lineWidthAlt <= nozzleSize * 0.85:
|
||||
return WARNING, 'Current selected wall thickness results in a line thickness of ' + str(lineWidthAlt) + 'mm which is not recommended with your nozzle of ' + str(nozzleSize) + 'mm'
|
||||
return SUCCESS, ''
|
||||
except ValueError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user