4897 |
kaklik |
1 |
DISPLAY_height = 101; |
|
|
2 |
DISPLAY_width = 166; |
|
|
3 |
DISPLAY_depth = 5.4; |
|
|
4 |
DISPLAY_visible_height = 91.6; |
|
|
5 |
DISPLAY_visible_width = 158.6; |
|
|
6 |
|
|
|
7 |
|
|
|
8 |
FP_width = 234; |
|
|
9 |
FP_height = 125; |
|
|
10 |
FP_thickness = 7; |
|
|
11 |
clearance = 0.75; |
|
|
12 |
|
|
|
13 |
use <./../../../../../Library/Graphics/MLAB_logo.scad> |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
difference () { |
|
|
17 |
|
|
|
18 |
difference () { |
|
|
19 |
color("green") |
|
|
20 |
linear_extrude(height = FP_thickness, scale = 0.98) |
|
|
21 |
square([FP_width, FP_height], center = true); |
|
|
22 |
|
|
|
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); |
|
|
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); |
|
|
34 |
|
|
|
35 |
translate([-100,61,0]) // top left screw. |
|
|
36 |
cylinder(20, d=10, center=true); |
|
|
37 |
|
|
|
38 |
translate([-115.5,40,0]) // top left screw. |
|
|
39 |
cylinder(20, d=10, center=true); |
|
|
40 |
|
|
|
41 |
translate([-115.5,-40,0]) // top left screw. |
|
|
42 |
cylinder(20, d=10, center=true); |
|
|
43 |
|
|
|
44 |
translate([-100,-61,0]) // bottom left screw. |
|
|
45 |
cylinder(20, d=10, center=true); |
|
|
46 |
|
|
|
47 |
translate([0,-61,0]) // center bottom screw |
|
|
48 |
cylinder(20, d=10, center=true); |
|
|
49 |
|
|
|
50 |
translate([100,61,0]) // top right screw. |
|
|
51 |
cylinder(20, d=10, center=true); |
|
|
52 |
|
|
|
53 |
translate([115.5,40,0]) // top right screw. |
|
|
54 |
cylinder(20, d=10, center=true); |
|
|
55 |
|
|
|
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); |
|
|
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 |
|
|
|
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); |
|
|
115 |
} |