chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cff94e
)
Fix the rounding bug when using 1.2mm wall thickness.
author
daid303
<daid303@gmail.com>
Mon, 24 Dec 2012 10:23:47 +0000
(11:23 +0100)
committer
daid303
<daid303@gmail.com>
Mon, 24 Dec 2012 10:23:47 +0000
(11:23 +0100)
Cura/util/profile.py
patch
|
blob
|
history
diff --git
a/Cura/util/profile.py
b/Cura/util/profile.py
index 869dd4ebc4df41aa225f8fa355f4496bf3810854..c15de19a3261833e6457a4b6913ed0c2e538915c 100644
(file)
--- 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: