4252 |
kaklik |
1 |
DISPLAY_height = 101; |
|
|
2 |
DISPLAY_width = 166; |
4260 |
kaklik |
3 |
DISPLAY_depth = 5.4; |
|
|
4 |
DISPLAY_visible_height = 91.6; |
|
|
5 |
DISPLAY_visible_width = 158.6; |
4213 |
kaklik |
6 |
|
4260 |
kaklik |
7 |
|
4213 |
kaklik |
8 |
FP_width = 234; |
|
|
9 |
FP_height = 125; |
4260 |
kaklik |
10 |
FP_thickness = 7; |
4213 |
kaklik |
11 |
clearance = 0.75; |
|
|
12 |
|
4260 |
kaklik |
13 |
use <./../../../../../Library/Graphics/MLAB_logo.scad> |
4213 |
kaklik |
14 |
|
|
|
15 |
|
4252 |
kaklik |
16 |
difference () { |
4213 |
kaklik |
17 |
|
4252 |
kaklik |
18 |
difference () { |
|
|
19 |
color("green") |
4260 |
kaklik |
20 |
linear_extrude(height = FP_thickness, scale = 0.98) |
4252 |
kaklik |
21 |
square([FP_width, FP_height], center = true); |
|
|
22 |
|
4260 |
kaklik |
23 |
translate([-23,0,DISPLAY_depth/2]){ |
|
|
24 |
translate([(-2.4/2),(4.4/2),0]) |
|
|
25 |
cube([DISPLAY_visible_width, DISPLAY_visible_height, DISPLAY_depth+10], center= true); |
4252 |
kaklik |
26 |
cube([DISPLAY_width, DISPLAY_height, DISPLAY_depth], center= true); |
|
|
27 |
} |
|
|
28 |
|
|
|
29 |
|
|
|
30 |
// Front metal panel mount holes - not mounting of printed pannel |
|
|
31 |
//===================================== |
|
|
32 |
translate([0,61,0]) // center top screw |
|
|
33 |
cylinder(20, d=10, center=true); |
4213 |
kaklik |
34 |
|
4252 |
kaklik |
35 |
translate([-100,61,0]) // top left screw. |
|
|
36 |
cylinder(20, d=10, center=true); |
4213 |
kaklik |
37 |
|
4252 |
kaklik |
38 |
translate([-115.5,40,0]) // top left screw. |
|
|
39 |
cylinder(20, d=10, center=true); |
4213 |
kaklik |
40 |
|
4252 |
kaklik |
41 |
translate([-115.5,-40,0]) // top left screw. |
|
|
42 |
cylinder(20, d=10, center=true); |
4213 |
kaklik |
43 |
|
4252 |
kaklik |
44 |
translate([-100,-61,0]) // bottom left screw. |
|
|
45 |
cylinder(20, d=10, center=true); |
4213 |
kaklik |
46 |
|
4252 |
kaklik |
47 |
translate([0,-61,0]) // center bottom screw |
|
|
48 |
cylinder(20, d=10, center=true); |
4213 |
kaklik |
49 |
|
4252 |
kaklik |
50 |
translate([100,61,0]) // top right screw. |
|
|
51 |
cylinder(20, d=10, center=true); |
4213 |
kaklik |
52 |
|
4252 |
kaklik |
53 |
translate([115.5,40,0]) // top right screw. |
|
|
54 |
cylinder(20, d=10, center=true); |
4213 |
kaklik |
55 |
|
4252 |
kaklik |
56 |
translate([115.5,-40,0]) // top right screw. |
|
|
57 |
cylinder(20, d=10, center=true); |
|
|
58 |
|
|
|
59 |
translate([100,-61,0]) // bottom right screw. |
|
|
60 |
cylinder(20, d=10, center=true); |
|
|
61 |
//======================================= |
|
|
62 |
//Printed panel mount holes. |
|
|
63 |
/////////////////////////////////////////////////////////// |
|
|
64 |
|
|
|
65 |
translate([5.5, 52, 0]) // center top screw |
|
|
66 |
cylinder(20, d=3.5, center=true); |
|
|
67 |
|
|
|
68 |
translate([-107.5, 52, 0]) // top left screw. |
|
|
69 |
cylinder(20, d=3.5, center=true); |
|
|
70 |
|
|
|
71 |
translate([-5.5, 52 ,0]) // top left screw. |
|
|
72 |
cylinder(20, d=3.5, center=true); |
|
|
73 |
|
|
|
74 |
translate([107.5, 52,0]) // top left screw. |
|
|
75 |
cylinder(20, d=3.5, center=true); |
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
translate([-107.5,5,0]) // center left screw. |
|
|
81 |
cylinder(20, d=3.5, center=true); |
|
|
82 |
|
|
|
83 |
translate([-107.5,-5,0]) // center left screw |
|
|
84 |
cylinder(20, d=3.5, center=true); |
|
|
85 |
|
|
|
86 |
translate([107.5,5,0]) // top right screw. |
|
|
87 |
cylinder(20, d=3.5, center=true); |
|
|
88 |
|
|
|
89 |
translate([107.5,-5,0]) // top right screw. |
|
|
90 |
cylinder(20, d=3.5, center=true); |
|
|
91 |
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
translate([-107.5, -52,0]) // top right screw. |
|
|
95 |
cylinder(20, d=3.5, center=true); |
|
|
96 |
translate([-5.5, -52,0]) // bottom right screw. |
|
|
97 |
cylinder(20, d=3.5, center=true); |
|
|
98 |
translate([5.5, -52,0]) // bottom right screw. |
|
|
99 |
cylinder(20, d=3.5, center=true); |
|
|
100 |
translate([107.5, -52,0]) // top right screw. |
|
|
101 |
cylinder(20, d=3.5, center=true); |
4260 |
kaklik |
102 |
|
|
|
103 |
// MLAB logo on the side |
|
|
104 |
|
|
|
105 |
union (){ |
|
|
106 |
translate ([83,30, 6]) // ODROIDs passive components hole. |
|
|
107 |
scale(v = [0.2, 0.2, 0.2]) |
|
|
108 |
MLAB_logo_short(); |
|
|
109 |
} |
|
|
110 |
|
4252 |
kaklik |
111 |
} |
|
|
112 |
// translate([100, 0, 0]) // top right screw. // crop left or right half of the panel to fit it in printer |
|
|
113 |
translate([-100, 0, 0]) // top right screw. // crop left or right half of the panel to fit it in printer |
|
|
114 |
cube(200, 200, 20, center=true); |
4260 |
kaklik |
115 |
} |