phone_cnr_rad = 6.0;
+button_cutout_depth = 9;
+
phone_edge_thick = 9.0;
phone_total_thick = 12.0;
phone_backside_slope_inner = 1.5; // larger means shallower
// calculated
+// could be changed
+lid_buttoncover_gap = lid_gap_x;
+lid_buttoncover_overlap = case_th_lip + keeper_gap_z_top;
+
phone_backside_slope_thick = phone_total_thick - phone_edge_thick;
//lid_lip_overlap_width xxx bad name = ;
lpp12 = [ epp4[0] + lid_lip, lpp11[1] ];
lpp13 = [ lpp12[0], lpp12[1] + lid_lip ];
+bppM = epp4 + [0,1] * lid_gap_z;
+bppN = [ 0.5 * (epp0[0] + epp4[0]), bppM[1] ];
+bppR = [ bppN[0] + lid_buttoncover_gap, -button_cutout_depth ];
+bppS = [ epp1[0], bppR[1] ];
+bppQ = [ bppM[0], bppR[1] - lid_buttoncover_overlap ];
+bppP = bppQ + [0,1] * lid_buttoncover_gap;
+bppO = [ bppN[0], bppP[1] ];
+
module rectfromto(a,b) {
ab = b - a;
translate([min(a[0], b[0]), min(a[1], b[1])])
}
}
+module ButtonPlan(){
+}
+
module CaseBase_rhsflip(yn=[0,1]) {
for (rhs=yn) {
translate([phone_width/2, 0, 0])
LidEdgeProfile();
%EdgeProfile();
KeeperProfile();
+
+ color("blue") rectfromto(bppM, bppO);
+ color("red") {
+ rectfromto(bppQ, [ bppS[0], bppQ[1] - 0.1]);
+ rectfromto(bppR, [ bppS[0], bppQ[1] - 0.1]);
+ }
}
//EdgeProfile();