chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
quacks-ingredients: gcode manipulation
[reprap-play.git]
/
quacks-ingredients-make-copy-gcodes
diff --git
a/quacks-ingredients-make-copy-gcodes
b/quacks-ingredients-make-copy-gcodes
index b198f95c22cf46b3983dad2e211222f2d69c9e22..bcddcf7a1948301ce4fe19525fed462acdace716 100755
(executable)
--- a/
quacks-ingredients-make-copy-gcodes
+++ b/
quacks-ingredients-make-copy-gcodes
@@
-32,6
+32,7
@@
for l in 1 2 3 4 5; do
perl -i~ -ne '
$l =~ s/^/;/ if m/^M400/;
+ $l .= "G91\nG1 Z5\nG90\n" if m/^M84/;
print $l or die $!;
$l = $_;
END { print $l or die $!; }