chiark / gitweb /
quacks-ingredients: gcode manipulation
[reprap-play.git] / quacks-ingredients-make-copy-gcodes
index af8559cf17d4d711a92a5827ea6658597608310f..4d9c8ea0d9e64bf401ae751d3b95aab559210e47 100755 (executable)
@@ -23,7 +23,7 @@ gh () {
 
 for l in 1 2 3 4 5; do
        gh
-       cura -s $lhs$l,$f.auto.stl -o $g
+       cura -i quacks.ini -s $lhs$l,$f.auto.stl -o $g
        case $l in
        1|2|3|4)
                perl -i~ -pe 's/^/;/ if m/^M140 S0\b.*\n/' $g
@@ -56,6 +56,7 @@ for l in 1 2 3 4 5 234; do
        gh
        cp $g $h
 done
+sleep 0.5
 
 umount /media/sd
 mount /media/sd
@@ -65,5 +66,6 @@ for l in 1 2 3 4 5 234; do
        cmp $g $h
        ls -l $h
 done
+sleep 0.5
 
 umount /media/sd