psz = [
120,
- 56 + 5,
+ 56 + 5 - 3.75,
15 + 3,
];
1.5,
];
-btn_x = 56.4;
+btn_x = 59.6;
btn_dia = 13;
-btn_yprop = 0.23;
+btn_y = 14.03;
-abtn_x = 43.15;
+abtn_x = 46.85;
abtn_sz = [ 11, 13 ];
screen_xbot = 79;
// calculated
+btn_yprop = btn_y / psz[1];
+echo(btn_yprop);
+
ym = psz[1]/2;
outer_cnr_rad = inner_cnr_rad + thick[2];
}
module RoundedCube(sz, cnr_rad){
- hull(){
+ if ($test)
+ cube(sz);
+ else hull(){
for (x=[ cnr_rad, sz[0]-cnr_rad ])
for (y=[ cnr_rad, sz[1]-cnr_rad ])
for (z=[ cnr_rad, sz[2]-cnr_rad ])
translate([x,y,z])
- sphere(r= cnr_rad, $fn=8);
+ sphere(r= cnr_rad, $fn=40);
}
}