6 upper_h = 4.5; // mozna snizit tak o 2 mm, ale to by v jednom tl. byla dira
8 module button(x, y, h) {
11 translate([-x/2-wall, -y/2 - wall, 0])
12 cube([x+2*wall, y+2*wall, bottom_h]);
13 translate([-x/2, -y/2, 0])
14 cube([x, y, upper_h + bottom_h]);
17 translate([-x/2+wall, -y/2+wall, -eps])
18 cube([x-2*wall, y-2*wall, h+eps]);
25 translate([10, 0, 0]) button(7.3, 7.8, 0);