chiark / gitweb /
quacks-ingredients: retraction_hop in L2 L4 L5 only
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 20 Feb 2020 20:16:21 +0000 (20:16 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 20 Feb 2020 20:16:21 +0000 (20:16 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
.gitignore
quacks-ingredients-make-copy-gcodes
quacks.ini

index 80195846174ed70c0e01ae64acf59d01e23d1946..6165e9eb78ce46da59caf52090e8276f8435416e 100644 (file)
@@ -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
index 5bb12499677387f3126487b932834297679f17b4..5c70dd135d54a47e2c247f18d197612e67e73be7 100755 (executable)
@@ -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
index b071309c364b718d40b003933691ff9d75e7a50a..8a4f7cc11279b142cb183c13f2239a886a78c43f 100644 (file)
@@ -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