From: daid303 Date: Mon, 24 Dec 2012 10:23:47 +0000 (+0100) Subject: Fix the rounding bug when using 1.2mm wall thickness. X-Git-Tag: 13.03~139^2~1 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=dd95ea7cc0ce5846ce55e028fadbfe4571b059c3;p=cura.git Fix the rounding bug when using 1.2mm wall thickness. --- diff --git a/Cura/util/profile.py b/Cura/util/profile.py index 869dd4eb..c15de19a 100644 --- a/Cura/util/profile.py +++ b/Cura/util/profile.py @@ -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: