-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTP BUTTONS.scad
40 lines (32 loc) · 1.17 KB
/
TP BUTTONS.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
// 1 inch = 25.4 millimeters
in2mm = 25.4;
translate([0, 5, 0]) union()
{
hull()
{
cylinder(h = 0.05 * in2mm, r=(0.15*in2mm) * .5, $fs = .1);
translate([(1.05 - 0.15) * in2mm, 0 , 0]) cylinder(h = 0.05 * in2mm, r=(0.15*in2mm) * .5, $fs = .1);
}
hull()
{
cylinder(h = 0.05 * in2mm, r=(0.1*in2mm) * .5, $fs = .1);
translate([(1.05 - 0.15) * in2mm, 0 , 0]) cylinder(h = 0.05 * in2mm, r=(0.1*in2mm) * .5, $fs = .1);
translate([(.1 - 0.1 ) * in2mm, 0 , (0.05 + 0.15- .1 )* in2mm]) sphere(r=(0.1*in2mm) * .5, $fs = .1);
translate([(1.05 - 0.15) * in2mm, 0 , (0.05 + 0.15- .1 )* in2mm]) sphere(r=(0.1*in2mm) * .5, $fs = .1);
}
}
union()
{
hull()
{
cylinder(h = 0.05 * in2mm, r=(0.15*in2mm) * .5, $fs = .1);
translate([(0.48 - 0.15) * in2mm, 0 , 0]) cylinder(h = 0.05 * in2mm, r=(0.15*in2mm) * .5, $fs = .1);
}
hull()
{
cylinder(h = 0.05 * in2mm, r=(0.1*in2mm) * .5, $fs = .1);
translate([(0.48 - 0.15) * in2mm, 0 , 0]) cylinder(h = 0.05 * in2mm, r=(0.1*in2mm) * .5, $fs = .1);
translate([(.1 - 0.1 ) * in2mm, 0 , (0.1 + 0.15- .1 )* in2mm]) sphere(r=(0.1*in2mm) * .5, $fs = .1);
translate([(0.48 - 0.15) * in2mm, 0 , (0.1 + 0.15- .1 )* in2mm]) sphere(r=(0.1*in2mm) * .5, $fs = .1);
}
}