Line 13... |
Line 13... |
13 |
wall_thickness = 12; // thickness of the box wall |
13 |
wall_thickness = 12; // thickness of the box wall |
14 |
volume_encore = 10; // space added to the size of internar heatsink |
14 |
volume_encore = 10; // space added to the size of internar heatsink |
15 |
|
15 |
|
16 |
height = heatsink_zsize + TEG_zsize+volume_encore; |
16 |
height = heatsink_zsize + TEG_zsize+volume_encore; |
17 |
|
17 |
|
- |
|
18 |
module box () { |
18 |
|
19 |
|
19 |
difference () { |
20 |
difference () { |
20 |
union (){ |
21 |
union (){ |
21 |
cube([heatsink_xsize+2*wall_thickness+volume_encore,heatsink_ysize+2*wall_thickness+volume_encore,height]); // overal plastic brick |
22 |
cube([heatsink_xsize+2*wall_thickness+volume_encore,heatsink_ysize+2*wall_thickness+volume_encore,height]); // overal plastic brick |
22 |
// cube([heatsink_xsize+2*wall_thickness,heatsink_ysize+2*wall_thickness,heatsink_zsize+wall_thickness]); // overal plastic brick |
23 |
// cube([heatsink_xsize+2*wall_thickness,heatsink_ysize+2*wall_thickness,heatsink_zsize+wall_thickness]); // overal plastic brick |
Line 50... |
Line 51... |
50 |
cube([heatsink_xsize-sealing_ring_width+volume_encore, heatsink_ysize-sealing_ring_width+volume_encore, sealing_ring_width]); // Rib for o-ring. |
51 |
cube([heatsink_xsize-sealing_ring_width+volume_encore, heatsink_ysize-sealing_ring_width+volume_encore, sealing_ring_width]); // Rib for o-ring. |
51 |
cylinder(r=wall_thickness/2,h=0.1); |
52 |
cylinder(r=wall_thickness/2,h=0.1); |
52 |
} |
53 |
} |
53 |
} |
54 |
} |
54 |
} |
55 |
} |
- |
|
56 |
|
55 |
translate ([ heatsink_xsize+2*wall_thickness-wall_thickness/3+volume_encore, heatsink_xsize+2*wall_thickness+volume_encore-wall_thickness/3, height-wall_thickness/2]) |
57 |
translate ([ heatsink_xsize+2*wall_thickness-wall_thickness/3+volume_encore, heatsink_xsize+2*wall_thickness+volume_encore-wall_thickness/3, height-wall_thickness/2]) |
56 |
{ |
58 |
{ |
57 |
translate([-6, -3, -1.5]) |
59 |
translate([-4, -3, -1.5]) |
58 |
cube([wall_thickness, 6, 3], center = false); // hole for top part mounting nut |
60 |
cube([wall_thickness, 6, 3], center = false); // hole for top part mounting nut |
- |
|
61 |
translate([0, 0, 1.8]) |
59 |
cylinder (h = wall_thickness, r= mount_hole/2, $fn=20); // hole for top part mounting screw. |
62 |
cylinder (h = wall_thickness, r= mount_hole/2, $fn=20); // hole for top part mounting screw. |
60 |
} |
63 |
} |
61 |
|
64 |
|
62 |
translate ([wall_thickness/3, wall_thickness/3, height-wall_thickness/2]) |
65 |
translate ([wall_thickness/3, wall_thickness/3, height-wall_thickness/2]) |
63 |
{ |
66 |
{ |
64 |
translate([-6, 0, -1.5]) |
67 |
translate([-8, -3, -1.5]) |
65 |
cube([wall_thickness-3, 6, 3], center = true); // hole for top part mounting nut |
68 |
cube([wall_thickness, 6, 3], center = false); // hole for top part mounting nut |
- |
|
69 |
translate([0, 0, 1.8]) |
66 |
cylinder (h = wall_thickness, r= mount_hole/2, $fn=20); // hole for top part mounting screw. |
70 |
cylinder (h = wall_thickness, r= mount_hole/2, $fn=20); // hole for top part mounting screw. |
67 |
} |
71 |
} |
68 |
|
72 |
|
69 |
translate ([wall_thickness/3, heatsink_xsize+2*wall_thickness+volume_encore-wall_thickness/3, height-wall_thickness/2]) |
73 |
translate ([wall_thickness/3, heatsink_xsize+2*wall_thickness+volume_encore-wall_thickness/3, height-wall_thickness/2]) |
70 |
{ |
74 |
{ |
71 |
translate([-6, 0, -1.5]) |
75 |
translate([-8, -3, -1.5]) |
72 |
cube([wall_thickness-3, 6, 3], center = true); // hole for top part mounting nut |
76 |
cube([wall_thickness, 6, 3], center = false); // hole for top part mounting nut |
- |
|
77 |
translate([0, 0, 1.8]) |
73 |
cylinder (h = wall_thickness, r= mount_hole/2, $fn=20); // hole for top part mounting screw. |
78 |
cylinder (h = wall_thickness, r= mount_hole/2, $fn=20); // hole for top part mounting screw. |
74 |
} |
79 |
} |
75 |
|
80 |
|
76 |
translate ([ heatsink_xsize+2*wall_thickness-wall_thickness/3+volume_encore, wall_thickness/3,height-wall_thickness/2]) |
81 |
translate ([ heatsink_xsize+2*wall_thickness-wall_thickness/3+volume_encore, wall_thickness/3,height-wall_thickness/2]) |
77 |
{ |
82 |
{ |
78 |
translate([6, 0, -1.5]) |
83 |
translate([-4, -3, -1.5]) |
79 |
cube([wall_thickness-3, 6, 3], center = true); // hole for top part mounting nut |
84 |
cube([wall_thickness, 6, 3], center = false); // hole for top part mounting nut |
- |
|
85 |
translate([0, 0, 1.8]) |
80 |
cylinder (h = wall_thickness, r= mount_hole/2, $fn=20); // hole for top part mounting screw. |
86 |
cylinder (h = wall_thickness, r= mount_hole/2, $fn=20); // hole for top part mounting screw. |
81 |
} |
87 |
} |
82 |
|
88 |
|
83 |
} |
89 |
} |
- |
|
90 |
} |
84 |
|
91 |
|
85 |
|
92 |
|
86 |
|
93 |
|
87 |
// Heat reservoir cover |
94 |
// Heat reservoir cover |
- |
|
95 |
module cover (){ |
88 |
translate ([0, 0, 3*height]) |
96 |
translate ([0, 0, 3*height]) |
89 |
{ |
97 |
{ |
90 |
difference () { |
98 |
difference () { |
91 |
|
99 |
|
92 |
cube([heatsink_xsize+2*wall_thickness+volume_encore,heatsink_ysize+2*wall_thickness+volume_encore,wall_thickness]); |
100 |
cube([heatsink_xsize+2*wall_thickness+volume_encore,heatsink_ysize+2*wall_thickness+volume_encore,wall_thickness]); |
Line 107... |
Line 115... |
107 |
{ |
115 |
{ |
108 |
cylinder (h = wall_thickness, r= mount_hole/2, $fn=20); // hole for top part mounting screw. |
116 |
cylinder (h = wall_thickness, r= mount_hole/2, $fn=20); // hole for top part mounting screw. |
109 |
} |
117 |
} |
110 |
} |
118 |
} |
111 |
} |
119 |
} |
- |
|
120 |
} |
- |
|
121 |
|
- |
|
122 |
cover (); |
112 |
|
123 |
|