From: Ian Jackson Date: Wed, 19 Feb 2020 23:28:31 +0000 (+0000) Subject: quacks-ingredients: gcode manipulation X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=d6461b60b78da57ba531ef0dd0acfdd046ceeaef quacks-ingredients: gcode manipulation Do a Z raise, just at a better time. Signed-off-by: Ian Jackson --- diff --git a/quacks-ingredients-make-copy-gcodes b/quacks-ingredients-make-copy-gcodes index b198f95..bcddcf7 100755 --- 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 $!; }