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:
c7db380
)
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
Youness Alaoui
<kakaroto@kakaroto.homelinux.net>
Thu, 15 Jan 2015 18:38:21 +0000
(13:38 -0500)
Cura/util/profile.py
patch
|
blob
|
history
diff --git
a/Cura/util/profile.py
b/Cura/util/profile.py
index 72a93accd81cce5923182b5c7fd6635055ee09aa..6bbf197ebebedcfc0664ea3886f112190f725963 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