chiark / gitweb /
fairphone-case: TestTopApertures: fix
[reprap-play.git] / fairphone-case.scad
index ad36f45a262f5cb054742da1901eb9e5e38007eb..b06b1741b5b9df8b53c5cd487a8b494e687cca2f 100644 (file)
@@ -651,7 +651,7 @@ module PropProfileAssignments(gamma){
 
   $prpp1 = $prpp7 + [1,0] *
     // this is approximate, but will do
-    (prop_main_th/2 + prop_prop_gap + prcp1[0] - epp4[0]);
+    (prop_main_th/2 + prop_prop_gap + prcp1[0] - cppA[0]);
   $prpp3 = $prpp1 +
     v1[0] * -$prp_r1 +
     v1[1] * ((prcp2[1] - prcp1[1]) - prop_prop_gap);
@@ -1026,6 +1026,15 @@ module TestFrameCase(){ ////toplevel
   }
 }
 
+module TestTopApertures(){ ////toplevel
+  intersection(){
+    Case();
+    TestSelectFrame();
+    translate([-100, -35, -100])
+      cube([400, 100, 200]);
+  }
+}
+
 module TestFrameLidPrint(){ ////toplevel
   rotate([0,180,0]) intersection(){
     Lid();