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:
f584371
)
Restart print close to original Z height, for special case where pausing below 15mm...
author
James Walker
<github@jzwalker.id.au>
Sun, 11 Aug 2013 13:00:01 +0000
(23:00 +1000)
committer
James Walker
<github@jzwalker.id.au>
Sun, 11 Aug 2013 13:00:01 +0000
(23:00 +1000)
Cura/plugins/pauseAtZ.py
patch
|
blob
|
history
diff --git
a/Cura/plugins/pauseAtZ.py
b/Cura/plugins/pauseAtZ.py
index 89b7ac2cde4bc7ea7ceb350670740865efeb093e..d0f733e8d68bec774a5b132a716f7ac35512c8aa 100644
(file)
--- a/
Cura/plugins/pauseAtZ.py
+++ b/
Cura/plugins/pauseAtZ.py
@@
-61,6
+61,8
@@
with open(filename, "w") as f:
f.write("G1 E%f F6000\n" % (retractAmount))
f.write("G1 E-%f F6000\n" % (retractAmount))
#Move the head back
+ if z < 15:
+ f.write("G1 Z%f F300\n" % (z+1))
f.write("G1 X%f Y%f F9000\n" % (x, y))
f.write("G1 E%f F6000\n" % (retractAmount))
f.write("G1 F9000\n")