-
Notifications
You must be signed in to change notification settings - Fork 0
/
vertice_bottom_side.scad
56 lines (44 loc) · 1.16 KB
/
vertice_bottom_side.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
offsetx =8;
offsety =0;
width_ridge=4;
height = 150;
width = 100+offsetx;
barwidth = 20;
thickness=8;
spacing_bars = 50;
largeCircle = 70.0;
holeSize=5;
holes = [
[barwidth /2,barwidth /2],
[barwidth+barwidth/2,barwidth /2],
[width-offsetx-barwidth/2,barwidth /2],
[barwidth /2,barwidth /2+spacing_bars],
[barwidth+barwidth/2,barwidth /2+spacing_bars],
[width-offsetx-barwidth/2,barwidth /2+spacing_bars],
[barwidth /2,height-barwidth /2],
];
difference() {
union() {
cube([width,height,thickness],false);
translate([8+offsetx,0,0.5]) {
cube([width_ridge,height,thickness],false);
}
translate([offsetx + barwidth,offsety+barwidth/2-width_ridge/2,0.5]) {
cube([width - barwidth - offsetx,width_ridge,thickness],false);
}
translate([offsetx + barwidth,offsety+spacing_bars+barwidth/2-width_ridge/2,0.5]) {
cube([width - barwidth - offsetx,width_ridge,thickness],false);
}
}
translate([0,0,-0.1]) {
translate([width,height,0]) {
cylinder(h=thickness+2,r=largeCircle, center = false, $fs=6);
}
for(i = holes) {
translate([offsetx + i[0],i[1],0])
cylinder(h=thickness+2,r=holeSize/2, center = false, $fs=1);
}
}
rotate([0,-45,0])
cube([30,height,20],false);
}