-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathamplifer.scad
More file actions
38 lines (33 loc) · 1.18 KB
/
amplifer.scad
File metadata and controls
38 lines (33 loc) · 1.18 KB
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
t = 3; //plastic thickness
g= 1; // gap or clearance
w= 41; //widht and height
sb = 10;
bh = 21; //box height
hr= 3.12/2; // hole radius
hf = hr + 2.1; //hole from front
hin = hr + 0.9; //hole from side
hb = hr + 26.8; //bback hole from front
soh = t+3; //standoff height
sor = hr+3;
base =[sor+sor, //board gaps t screwbase
t+g+hb, //thickness,gap,dist from front, holediam, t
t];
base_t =[-sb-3,0,0];
hholes = [[hin,hf+g],[w-hin,hf+g],[w-hin,hb+g],[hin+g,hb+g]];
difference(){
union() {
cube(base);
translate([-12,-t,0])cube([w+12+g+t,t,bh]); //front
translate([w+g,0,0])cube([t,w-9,bh]); //right side
translate([-12,0,0])cube([t,w-9,bh]); //left side
translate([w-hin-sor,0,0]) cube(base);
translate([-12,base[1]/2-sb/2,0]) cube([w+12,sb,t]); //base strut
//translate([-12+t,0,bh-3])cube([5,w-9,t]); //left bracket
//translate([w+g+t,(w-9)/2,bh-3])cube([5,(w-9)/2,t]); //left bracket
for (i =hholes) translate(i)cylinder(r=sor,h=soh);
}
for (i = hholes)
translate(i) cylinder(r=1.5,h=100,center = true);
translate([11,0,7+3+3])rotate([90,0,0])cylinder(r=3,h=50,center=true);
translate([-3,0,7+3+3])rotate([90,0,0])cylinder(r=3,h=50,center=true);
}