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:
3958220
)
Fix a layer thickness of 0
author
daid
<daid303@gmail.com>
Tue, 18 Feb 2014 10:19:38 +0000
(11:19 +0100)
committer
daid
<daid303@gmail.com>
Tue, 18 Feb 2014 10:19:38 +0000
(11:19 +0100)
Cura/util/gcodeInterpreter.py
patch
|
blob
|
history
diff --git
a/Cura/util/gcodeInterpreter.py
b/Cura/util/gcodeInterpreter.py
index 45f65c0f4f88a0e21160a58c71e6c44412e4594d..ad399d702f705c8fe12fd0a18e20a7f3da11634c 100644
(file)
--- a/
Cura/util/gcodeInterpreter.py
+++ b/
Cura/util/gcodeInterpreter.py
@@
-18,6
+18,8
@@
def gcodePath(newType, pathType, layerThickness, startPoint):
"""
Build a gcodePath object. This used to be objects, however, this code is timing sensitive and dictionaries proved to be faster.
"""
+ if layerThickness <= 0.0:
+ layerThickness = 0.01
return {'type': newType,
'pathType': pathType,
'layerThickness': layerThickness,