-
Notifications
You must be signed in to change notification settings - Fork 0
/
3imksDisplayPlate.scad
33 lines (29 loc) · 1.1 KB
/
3imksDisplayPlate.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
BoxW=190;
BoxD=55;
BoxH=10;
FromEdge=10;
MountHole=5;
displayHole=4;
ScrewHead=10;
xdist=122;
ydist=11;
xDFE=(BoxW-xdist)/2;
yDFE=(BoxD-ydist)/2;
DrillLen=BoxH*2;
difference()
{
cube([BoxW,BoxD,BoxH]);
translate([BoxW/2-10,BoxD/2-5,-2]) cube([20,10,15]);
translate([FromEdge,FromEdge,-5]) cylinder(h=DrillLen,d=MountHole);
translate([BoxW-FromEdge,FromEdge,-5]) cylinder(h=DrillLen,d=MountHole);
translate([FromEdge,BoxD-FromEdge,-5]) cylinder(h=DrillLen,d=MountHole);
translate([BoxW-FromEdge,BoxD-FromEdge,-5]) cylinder(h=DrillLen,d=MountHole);
translate([xDFE,yDFE,-5]) cylinder(h=DrillLen,d=displayHole);
translate([xDFE+xdist,yDFE,-5]) cylinder(h=DrillLen,d=displayHole);
translate([xDFE,yDFE+ydist,-5]) cylinder(h=DrillLen,d=displayHole);
translate([xDFE+xdist,yDFE+ydist,-5]) cylinder(h=DrillLen,d=displayHole);
translate([xDFE,yDFE,5]) cylinder(h=DrillLen,d=ScrewHead);
translate([xDFE+xdist,yDFE,5]) cylinder(h=DrillLen,d=ScrewHead);
translate([xDFE,yDFE+ydist,5]) cylinder(h=DrillLen,d=ScrewHead);
translate([xDFE+xdist,yDFE+ydist,5]) cylinder(h=DrillLen,d=ScrewHead);
}