forked from jazwa/rackstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathentry.scad
62 lines (47 loc) · 1.55 KB
/
entry.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
use <./tray.scad>
/*
Parametric rack-mount tray:
Dimensions can be adjusted using the variables below. You can also add mounting holes to fasten things that have
screw holes at the bottom.
!!! Please also make sure that the correct rack frame preset is set in rackFrame.scad !!!
*/
module traySystem (
// begin config ////////////////////////////////////////////////////////////////////////////////////////////////////////
trayU = 2,
baseWidth = 145,
baseDepth = 100,
baseThickness = 3, // tray bottom thickness
frontThickness = 3, // front plate thickness
sideThickness = 3,
backLipHeight = 2,
frontLipHeight = 2,
sideSupport = true,
trayLeftPadding = 10, // extra space between the left rail and tray. configure this to move the tray left/right.
mountPointType = "m3",
mountPointElevation = 1, // basically standoff height
// add/config standoff coordinates here. Format is [[x,y]]
mountPoints = [
[30,10],
[30+75,10],
[30,10+75],
[30+75,10+75],
]
// end config //////////////////////////////////////////////////////////////////////////////////////////////////////////
) {
bottomScrewTray (
u = trayU,
trayWidth = baseWidth,
trayDepth = baseDepth,
trayThickness = baseThickness,
frontLipHeight = frontLipHeight,
backLipHeight = backLipHeight,
mountPoints = mountPoints,
frontThickness = frontThickness,
sideThickness = sideThickness,
mountPointElevation = mountPointElevation,
mountPointType = mountPointType,
sideSupport = sideSupport,
trayLeftPadding = trayLeftPadding
);
}
traySystem();