chiark / gitweb /
fairphone-case: LidFrame: select around prop recesses
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 25 Jan 2018 14:02:20 +0000 (14:02 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 25 Jan 2018 14:02:20 +0000 (14:02 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index dd3b669a8ae61ab65acfb0e6273b39ea0f43cd45..247efa425202b393ccc4208d578370982ba7b601 100644 (file)
@@ -865,6 +865,19 @@ module LidPrint(){ ////toplevel
     Lid();
 }
 
+module TestSelectPropRecesses(posns){
+  linextr(-100,100){
+    translate([phone_width/2, -phone_height]){
+      square([ 3, 500 ], center=true);
+      for (y=posns)
+       hull()
+         for (dy=[ -prp5[0], -prp2[0] ])
+           translate([0,y+dy])
+             square([prop_main_width+5, 5], center=true);
+    }
+  }
+}
+
 module TestSelectFrame(){
   include = [1,-1] * (epp2i[0] + 4);
 
@@ -878,6 +891,7 @@ module TestSelectFrame(){
 
 module TestSelectLidFrame(){
   TestSelectFrame();
+  TestSelectPropRecesses(prop_lid_posns);
 }
 
 module TestFrameCase(){ ////toplevel