From dd95ea7cc0ce5846ce55e028fadbfe4571b059c3 Mon Sep 17 00:00:00 2001 From: daid303 Date: Mon, 24 Dec 2012 11:23:47 +0100 Subject: [PATCH] Fix the rounding bug when using 1.2mm wall thickness. --- Cura/util/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2