Fix the rounding bug when using 1.2mm wall thickness.

This commit is contained in:
daid303 2012-12-24 11:23:47 +01:00
parent 4cff94e514
commit dd95ea7cc0

View file

@ -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: