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:
0886f23
)
Fix retraction display for UltiGCode.
author
daid
<daid303@gmail.com>
Tue, 29 Oct 2013 09:05:32 +0000
(10:05 +0100)
committer
daid
<daid303@gmail.com>
Tue, 29 Oct 2013 09:05:32 +0000
(10:05 +0100)
Cura/util/gcodeInterpreter.py
patch
|
blob
|
history
diff --git
a/Cura/util/gcodeInterpreter.py
b/Cura/util/gcodeInterpreter.py
index 9551ee1218e4bc067f644873bb06ec12996f29ba..00f98e36961de75bda5e7efe16347148236c3870 100644
(file)
--- a/
Cura/util/gcodeInterpreter.py
+++ b/
Cura/util/gcodeInterpreter.py
@@
-187,7
+187,10
@@
class gcode(object):
if P is not None:
totalMoveTimeMinute += P / 60.0 / 1000.0
elif G == 10: #Retract
- pass
+ currentPath = gcodePath('retract', pathType, layerThickness, currentPath['points'][-1])
+ currentPath['extruder'] = currentExtruder
+ currentLayer.append(currentPath)
+ currentPath['points'].append(currentPath['points'][0])
elif G == 11: #Push back after retract
pass
elif G == 20: #Units are inches