]> www.fi.muni.cz Git - things.git/blob - led-strip-holder-fog-chamber.scad
switch holder.scad
[things.git] / led-strip-holder-fog-chamber.scad
1 infty = 200;
2 eps = 0.1;
3
4 heatsink_w = 15 + 0.5;
5 heatsink_h = 3;
6
7 wall = 1.5;
8 xoff = 5+heatsink_h;
9 yoff = 10;
10 bottom_off = 20;
11 clip_l = 2;
12
13 body_h = 8;
14
15 // bottom
16 translate([-bottom_off, -wall, 0])
17         cube([bottom_off+wall, wall, body_h]);
18
19 // front
20 translate([0, -wall, 0])
21         cube([wall, yoff+wall, body_h]);
22
23 // front-bottom
24 translate([0, yoff-wall, 0])
25         cube([xoff+wall, wall, body_h]);
26
27 // heatsink rear
28 translate([xoff, yoff-wall, 0]) 
29         cube([wall, heatsink_w + 2*wall, body_h]);
30
31 // heatsink top
32 translate([xoff-wall-heatsink_h, yoff+heatsink_w, 0]) 
33         cube([2*wall+heatsink_h, wall, body_h]);
34
35 // clip top
36 translate([xoff-wall-heatsink_h, yoff+heatsink_w-clip_l, 0]) 
37         cube([wall, clip_l+wall, body_h]);
38
39 // clip bottom
40 translate([xoff-wall-heatsink_h, yoff-wall, 0]) 
41         cube([wall, clip_l+wall, body_h]);