chiark / gitweb /
fairphone-case: ButtonPlan: swap args in demo (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 20 Jan 2018 21:13:46 +0000 (21:13 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 20 Jan 2018 21:13:46 +0000 (21:13 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index 3a3cf1d..009d877 100644 (file)
@@ -354,7 +354,7 @@ module Keeper(){ ////toplevel
     OneKeeper();
 }
 
-module ButtonPlanForDemo(colour, z, cut, deep){
+module ButtonPlanForDemo(colour, z, deep, cut){
   color(colour)
     translate([0,0,z])
     ButtonPlan(8, deep, cut);
@@ -380,8 +380,8 @@ module DemoProfiles(){ ////toplevel
 
   translate([-20,0]) {
     ButtonPlanForDemo("blue",    0, 0,0);
-    ButtonPlanForDemo("red",    -1, 1,0);
-    ButtonPlanForDemo("yellow", -2, 0,1);
+    ButtonPlanForDemo("red",    -1, 0,1);
+    ButtonPlanForDemo("yellow", -2, 1,0);
     ButtonPlanForDemo("blue",   -3, 1,1);
   }
 }