Fix the rounding bug when using 1.2mm wall thickness.
This commit is contained in:
1 parent
4cff94e514
commit
dd95ea7cc0
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user