1 include <yenyalib.scad>
16 for (angle = [0:120:360]) Rz(angle) {
18 difference($fn = 128) {
19 cylinder(r = base_d/2, h = base_h);
20 Tz(-eps) cylinder(r = base_d/2-wall, h = base_h + 2*eps);
22 Rz(-clip_angle/2) cube([base_d/2+eps, base_d/2+eps, base_h]);
23 Rz(clip_angle/2) Sy(-1) cube([base_d/2+eps, base_d/2+eps, base_h]);
26 Rz(clip_angle/2) Ty(-wall/2) Tx(base_d/2) cylinder(r = wall/2, h = base_h);
28 Rz(-clip_angle/2) Tx(base_d/2-3*wall)
31 cylinder(r = 3*wall, h = base_h);
32 Tz(-eps) cylinder(r = 2*wall, h = base_h+2*eps);
34 Tx(-wall) Ty(-infty) cube(infty);
40 cylinder(r = base_d/2-3*wall, h = base_h);
41 Tz(wall) cylinder(r = base_d/2-4*wall, h = base_h);
46 Tx(-sens_side/2) Ty(sens_l/2) {
47 cube([sens_side, wall, sens_h]); // sensor side
48 Tz(sens_h/2+wall) Ry(90) Sx(2)
49 cylinder(r=wall/2, h = sens_side); // middle strut
52 translate([-sens_side/2, -sens_l/2-wall, sens_h-wall])
53 cube([sens_side, sens_l+2*wall, wall]);