1 include <yenyalib.scad>
4 mount_thick = 3.5 + 0.3;
13 disp_inner_top = 3.5; // offset from the top
17 translate([-disp_w/2-wall, -disp_h/2-wall, 0])
18 cube([disp_w+2*wall, disp_h+2*wall, body_h]);
20 translate([-disp_w/2, -disp_h/2, wall])
21 cube([disp_w, disp_h, body_h]);
22 // front hole for visible part of the display
23 Ty((disp_h-disp_inner_h)/2-disp_inner_top) hull() {
24 translate([-disp_inner_w/2-wall/2, -disp_inner_h/2-wall/2, -eps])
25 cube([disp_inner_w+wall, disp_inner_h+wall, eps]);
26 translate([-disp_inner_w/2, -disp_inner_h/2, wall])
27 cube([disp_inner_w, disp_inner_h, eps]);
31 Mx() Tz(wall+mount_thick) Rx(90) Tx(disp_w/2) Tz(-10) cylinder(r = wall, h = 20, $fn = 4);
32 My() Tz(body_h-wall) Ry(90) Ty(disp_h/2) Tz(-10) cylinder(r = wall, h = 20, $fn = 4);