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:
28b04d8
)
Fix https://github.com/Ultimaker/CuraEngine/issues/140
author
daid
<daid303@gmail.com>
Mon, 24 Nov 2014 06:31:43 +0000
(07:31 +0100)
committer
daid
<daid303@gmail.com>
Mon, 24 Nov 2014 06:31:43 +0000
(07:31 +0100)
Cura/util/profile.py
patch
|
blob
|
history
diff --git
a/Cura/util/profile.py
b/Cura/util/profile.py
index 1f6c630ce37a75ff47ed5155fd59bb72602c91b8..a27e7f30950ff655c94bdae06982bf2f14a0bfda 100644
(file)
--- a/
Cura/util/profile.py
+++ b/
Cura/util/profile.py
@@
-1108,7
+1108,7
@@
def calculateSolidLayerCount():
solidThickness = getProfileSettingFloat('solid_layer_thickness')
if layerHeight == 0.0:
return 1
- return int(math.ceil(
solidThickness / (layerHeight - 0.0001)
))
+ return int(math.ceil(
(solidThickness - 0.0001) / layerHeight
))
def calculateObjectSizeOffsets():
size = 0.0