Fix the rounding bug when using 1.2mm wall thickness.
This commit is contained in:
parent
4cff94e514
commit
dd95ea7cc0
1 changed files with 1 additions and 1 deletions
|
|
@ -397,7 +397,7 @@ def calculateEdgeWidth():
|
|||
if wallThickness < nozzleSize:
|
||||
return wallThickness
|
||||
|
||||
lineCount = int(wallThickness / nozzleSize)
|
||||
lineCount = int(wallThickness / nozzleSize + 0.0001)
|
||||
lineWidth = wallThickness / lineCount
|
||||
lineWidthAlt = wallThickness / (lineCount + 1)
|
||||
if lineWidth > nozzleSize * 1.5:
|
||||
|
|
|
|||
Loading…
Reference in a new issue