// -*- C -*-
-phone_height = 146.5;
-phone_width = 76.75;
+phone = [ 145.0, 75.0 ];
+
+bumpers = [ 1.5, 1.75 ];
+// ^ both sides together.
+// If no bumpers, is the gap around the phone.
phone_cnr_rad = 6.0;
// ---------- calculated ----------
+phone_height = (phone + bumpers)[0];
+phone_width = (phone + bumpers)[1];
+
// ----- could be changed -----
lid_buttoncover_gap = lid_gap_x;
lid_buttoncover_overlap = case_th_lip + keeper_gap_z_top;
rotate([90,0,90])
translate([0,0,-10])
linear_extrude(height= 20)
- ButtonPlan($button_l, 0,0);
+ ButtonPlan($button_l, 1,0);
rotate([90,0,0])
translate([0,0,-100])
linear_extrude(height= 200)
rotate([180,0,0]) TestLidByCamera();
}
+module DemoByCamera(){ ////toplevel
+ color("blue") TestLidByCamera();
+ color("red") TestCamera();
+}
+
module OneKeeper(){ ////toplevel
translate([0, -phone_cnr_rad, 0])
rotate([90, 0, 0])