8 cyl_h = 8; // above pcb, max 13.8;
13 pcb_supp = 3; // side support thickness
14 pcb_h = 8; // 1.2 + space for connector etc
17 cyl_base = pcb_x/2 + wall - cyl_x;
31 translate([-pcb_x/2, -pcb_y/2, -eps])
32 cube([pcb_x, pcb_y, pcb_h-pcb_thick+eps]);
34 translate([-conn_x/2, pcb_y/2-eps, -eps])
35 cube([conn_x, conn_y+eps, pcb_h-pcb_thick+eps]);
38 translate([-cable_w/2, pcb_y/2+conn_y-eps, -eps])
39 cube([cable_w, 2*wall + eps, cable_h]);
42 for (x = [-1, 1]) translate([cyl_x*x, 0, pcb_h - eps])
43 cylinder(r = cyl_r, h = cyl_h + 2+wall + eps);
45 translate([-pcb_x/2, -pcb_y/2, pcb_h-pcb_thick-eps])
46 cube([pcb_x, pcb_y, pcb_thick+eps]);
47 // space below the pcb (xtal, etc)
48 translate([-pcb_x/2+pcb_supp, -pcb_y/2, pcb_h-pcb_thick - eps])
49 cube([pcb_x - 2*pcb_supp, pcb_y, xtal_h+pcb_thick+eps]);
54 translate([-pcb_x/2-wall, -pcb_y/2-wall, 0])
55 cube([pcb_x+2*wall, pcb_y+2*wall, pcb_h+wall]);
58 for (x = [-1, 1]) translate([cyl_x*x, 0, pcb_h + cyl_h])
59 cylinder(r = cyl_base, h = wall);
61 translate([0, 8, pcb_h + cyl_h])
62 cylinder(r = cyl_base, h = wall);
65 translate([-conn_x/2-wall, pcb_y/2-wall, 0])
66 cube([conn_x+2*wall, conn_y+2*wall, pcb_h+wall]);
68 for (x = [0, 180]) rotate([0, 0, x]) hull() {
70 translate([pcb_x/2-eps, -4/2-wall, pcb_h + cyl_h + wall -eps])
71 cube([eps, 4+2*wall, eps]);
73 translate([pcb_x/2+wall, -screw_sp/2-wall, 0])
74 cube([screw_sp+wall, screw_sp+2*wall, wall]);
78 rotate([180, 0, 0]) // rotate it for easier print
84 translate([-8/2, -pcb_y/2, pcb_h-pcb_thick-wall/2])
86 cylinder(r=wall/2, h = 8, $fn = 4);
89 for (x = [0, 180]) rotate([0, 0, x]) {
90 translate([pcb_x/2+wall, -screw_sp/2, wall])
91 cube([screw_sp +wall+eps, screw_sp, pcb_h + cyl_h + eps]);
92 translate([pcb_x/2+1+wall, -3/2, -eps])
93 cube([3, 3, wall + 2*eps]);
96 translate([0, 3.5, pcb_h + cyl_h + eps])
98 linear_extrude(height=wall)
99 text("CVT FI", font="DejaVu Sans:style=Bold", size=5,
100 halign="center", valign="center");