chiark / gitweb /
screw-recess-test: make zbelow parameter come before recessdepth_arg (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 11 Feb 2015 21:30:02 +0000 (21:30 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 11 Feb 2015 21:37:04 +0000 (21:37 +0000)
screw-recess-test.scad

index 9e3a333..9da37e4 100644 (file)
@@ -16,8 +16,8 @@ RecessedScrewCutout_defaultrecessdepth_flat = -0.35;
 RecessedScrewCutout_defaultrecessdepth_hex = -0.70;
 
 module RecessedScrewCutout(shaftdia, recessdia, shaftlen,
-        recessdepth_arg=RecessedScrewCutout_defaultrecessdepth_flat,
-        zbelow=1) {
+        zbelow=1,
+        recessdepth_arg=RecessedScrewCutout_defaultrecessdepth_flat) {
   // pass recessdepth_arg=-1 for the default for flat heads
   // pass recessdepth_arg=-1 for the default for flat heads
   recessdepth = recessdepth_arg >= 0 ? recessdepth_arg