bppQ = [ bppM[0], bppR[1] - lid_buttoncover_overlap ];
bppP = bppQ + [0,1] * lid_buttoncover_gap;
bppO = [ bppN[0], bppP[1] ];
+bppL = lpp10 + [1,0];
+bppK = [ bppL[0], bppN[1] ];
+bppJ = [ bppN[0], bppL[1] ];
module rectfromto(a,b) {
ab = b - a;
}
}
+module ButtonCoverProfile(){
+ intersection(){
+ polygon([ bppM, bppP, bppO, bppJ, bppL, bppK ]);
+ *hull(){
+ EdgeProfile();
+ LidEdgeProfile();
+ }
+ }
+}
+
module ButtonPlan(){
}
%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]);
+ translate([20,0]) {
+ LidEdgeProfile();
+ %EdgeProfile();
+
+ demopoint_QR = [ bppS[0], bppQ[1] - 0.1];
+
+ color("blue") ButtonCoverProfile();
+ color("red") {
+ rectfromto(bppQ, demopoint_QR);
+ rectfromto(bppR, demopoint_QR);
+ }
}
}