-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscratch
89 lines (55 loc) · 1.56 KB
/
scratch
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
/////////////////////
//DEFINED VARIABLES//
/////////////////////
//thickness
thickness=6.25;
//panel height
panelHeight=101.6;
//rod radius
rodRadius=(6.25*2) / 2;
//outer radius of circular corners
circleRadius=50;
//cartesian plane coordinates where the threaded rods pass through
rodCoordinates=420;
//cartesian plane coordinates where the leveling feet mount/pass through
bottomPlatform_Y=900;
//length and width
middlePlatform_X=1000;
//Radius of rounded edges
platformOffset=15;
feetOffset=15;
feetCoordinates_X=middlePlatform_X/2-feetOffset;
feetCoordinates_Y=450-feetOffset;
//leveling feet radius
feetRadius=4.5;
feetHoleOffset=0.5;
middlePlatform_Y=600+thickness*4;
///////////////////////////////////////////////////////////////////////////////////////
module frontPanel(){
difference(){
translate([(middlePlatform_X/2)-thickness/2,0,panelHeight/2 ])
cube([thickness,middlePlatform_Y,panelHeight], center=true);
translate([middlePlatform_X/2-thickness-1,200-350,panelHeight/2-15-20 ], center=true)
cube([50,117.75,70.5]);
//usb cut out #4
translate([middlePlatform_X/2-thickness-1,-235,panelHeight/2 ], center=true)
cube([thickness*2+1,15,8]);
translate([middlePlatform_X,0,0])
usbHoles();
translate([325,175-135,40])
panelHole();
translate([325,175,40])
panelHole();
translate([1,0,0])
bracketHoles();
translate([1,-285*2,0])
bracketHoles();
translate([1,-285*2,54])
bracketHoles();
translate([1,0,54])
bracketHoles();
}
}
rotate([0,90,0])
translate([(-middlePlatform_X/2)+thickness/2,0,-panelHeight/2 ])
frontPanel();