-
Notifications
You must be signed in to change notification settings - Fork 19
/
beelink-EQi12-tray_mod.scad
142 lines (116 loc) · 3.52 KB
/
beelink-EQi12-tray_mod.scad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
use <../tray/tray.scad>
/*
Simple tray for a beelink mini-s series mini pc.
Please make sure to configure the correct rack frame dimensions in rackFrame.scad.
*/
difference () {
bottomScrewTray (
u = 5,
trayWidth = 140,
trayDepth = 140,
trayThickness = 3,
frontLipHeight = 3,
backLipHeight = 5,
frontThickness = 3,
sideThickness = 3,
mountPointElevation = 1,
mountPointType = "m4",
sideSupport = true,
trayLeftPadding = 15
);
// Side perforations for airflow
translate(v=[-4, 5, 18]) {
rotate(a=[0,90,0])
rotate(a=[0,0,45])
cube(size=[18, 18, 155]);
translate(v=[0, 28, -04])
rotate(a=[0,90,0])
rotate(a=[0,0,45])
cube(size=[12,12,150]);
translate(v=[0, 48, -06.5])
rotate(a=[0,90,0])
rotate(a=[0,0,45])
cube(size=[8,8,150]);
// Bottom perforations for airflow
// Front Right Cube
translate(v=[60, 40, -50])
rotate(a=[90,0,0])
rotate(a=[0,90,90])
cube(size=[12,12,135]);
// Front Center Cube
translate(v=[80, 35, -50])
rotate(a=[90,0,45])
rotate(a=[0,90,90])
cube(size=[12,12,135]);
// Front Left Cube
translate(v=[95, 40, -50])
rotate(a=[90,0,0])
rotate(a=[0,90,90])
cube(size=[12,12,135]);
// Center Right Cube
translate(v=[50.5, 65, -50])
rotate(a=[90,0,45])
rotate(a=[0,90,90])
cube(size=[12,12,135]);
// Center Left Cube
translate(v=[110, 65, -50])
rotate(a=[90,0,45])
rotate(a=[0,90,90])
cube(size=[12,12,135]);
// Rear Left Cube
translate(v=[60, 75, -50])
rotate(a=[90,0,0])
rotate(a=[0,90,90])
cube(size=[12,12,135]);
// Rear Center Cube
translate(v=[80, 92, -50])
rotate(a=[90,0,45])
rotate(a=[0,90,90])
cube(size=[12,12,135]);
// Rear Right Cube
translate(v=[96, 75, -50])
rotate(a=[90,0,0])
rotate(a=[0,90,90])
cube(size=[12,12,135]);
// Far Rear Right Cube
translate(v=[100, 110, -50])
rotate(a=[90,0,0])
rotate(a=[0,90,90])
cube(size=[12,25,135]);
// Far Rear Left Cube
translate(v=[67.5, 110, -50])
rotate(a=[90,0,0])
rotate(a=[0,90,90])
cube(size=[12,25,135]);
// Far Front Right Cube
translate(v=[100, 3, -50])
rotate(a=[90,0,0])
rotate(a=[0,90,90])
cube(size=[12,25,135]);
// Far Front Left Cube
translate(v=[67.5, 3, -50])
rotate(a=[90,0,0])
rotate(a=[0,90,90])
cube(size=[12,25,135]);
// Side Front Right Cube
translate(v=[125, 25, -50])
rotate(a=[90,0,0])
rotate(a=[0,90,90])
cube(size=[25,12,135]);
// Side Front Left Cube
translate(v=[30, 25, -50])
rotate(a=[90,0,0])
rotate(a=[0,90,90])
cube(size=[25,12,135]);
// Side Rear Right Cube
translate(v=[125, 80, -50])
rotate(a=[90,0,0])
rotate(a=[0,90,90])
cube(size=[25,12,135]);
// Side Rear Left Cube
translate(v=[30, 80, -50])
rotate(a=[90,0,0])
rotate(a=[0,90,90])
cube(size=[25,12,135]);
}
}