From: Ian Jackson Date: Thu, 20 Feb 2020 20:16:21 +0000 (+0000) Subject: quacks-ingredients: retraction_hop in L2 L4 L5 only X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=8e171eccfc63ee66687bde5f18e3fd538a60aa73;p=reprap-play.git quacks-ingredients: retraction_hop in L2 L4 L5 only Signed-off-by: Ian Jackson --- diff --git a/.gitignore b/.gitignore index 8019584..6165e9e 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ sewing-table-end-profile.eps sewing-table,Demo-flat.png poster-tube-lid-parametric.scad treefoil.scad +quacks-L*.auto.ini diff --git a/quacks-ingredients-make-copy-gcodes b/quacks-ingredients-make-copy-gcodes index 5bb1249..5c70dd1 100755 --- a/quacks-ingredients-make-copy-gcodes +++ b/quacks-ingredients-make-copy-gcodes @@ -23,7 +23,19 @@ gh () { for l in 1 2 3 4 5; do gh - cura -i quacks.ini -s $lhs$l,$f.auto.stl -o $g + qi=quacks-L$l.auto.ini + + cp quacks.ini $qi + + case $l in + 2|4|5) + perl -i~ -pe ' + s/^(retraction_hop *= *.*)/retraction_hop = 0.6/m + ' $qi + ;; + esac + + cura -i $qi -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 diff --git a/quacks.ini b/quacks.ini index b071309..8a4f7cc 100644 --- a/quacks.ini +++ b/quacks.ini @@ -31,7 +31,7 @@ retraction_dual_amount = 16.5 retraction_min_travel = 1.5 retraction_combing = All retraction_minimal_extrusion = 0.005 -retraction_hop = 0.6 +retraction_hop = 0.1 bottom_thickness = 0.425 layer0_width_factor = 125 object_sink = 0.0