forked from megahitokiri/A-Graphic-User-Interface-GUI-to-build-a-3D-printed-personalized-Prosthetic-Hand
-
Notifications
You must be signed in to change notification settings - Fork 0
/
proximal_thumb.scad
95 lines (80 loc) · 3.46 KB
/
proximal_thumb.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
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
90
91
92
93
94
95
thumb_length = 15; middle_length = 20; palm_width = 47;
module proximal_phalanx(thumb_length, middle_length, palm_width)
{
width = palm_width*16.3/90;
difference()
{
union(){
cube([thumb_length/2,width,width],false);
translate([0,0,width*3/5])
rotate([-90,0,0])
cylinder(width,r=width*2/5,false,$fn=100);
translate([thumb_length/2,0,width*3/5])
rotate([-90,0,0])
cylinder(width,r=width*2/5*0.9,false,$fn=100);
}
//pin holes
translate([0,width*1.1,width*3/5])
rotate([90,0,0])
cylinder(width*2,r=1.985,false,$fn=100);
translate([thumb_length/2,width*1.1,width*3/5])
rotate([90,0,0])
cylinder(width*2,r=1.985,false,$fn=100);
//
// //making spacer at the beginning of the link
//right
translate([0,0,width*3/5])
rotate([-90,0,0])
cylinder(2.0,r=width*2.1/5,false,$fn=100);
translate([0,0,width*3/5])
cube([width*2/5,2,width*3/5]);
translate([0,0,width*3/5])
cube([width*2/5,2,width]);
//left
translate([0,width,width*3/5])
rotate([90,0,0])
cylinder(2.0,r=width*2.1/5,false,$fn=100);
translate([0,width-2,width*3/5])
cube([width*2/5,2,width*3/5]);
translate([0,width-2,width*3/5])
cube([width*2/5,2,width]);
translate([0,0,width/5])
rotate([0,170,0])
cube([2*cos(45)*width/5,width,2*sin(45)*width/5],false);
// //cut hallow hole inside the phalanx
translate([thumb_length/2/2,width/2,width*1/1.5])
cube([thumb_length/2+width*4.5,width*2/5,width*4/15],true);
translate([-width*2/5,width/2,width/5])
cube([width*1.2,width*2/5,width*4/5],true);
//
// //making flange at the end of the link
translate([thumb_length/2,width/2,width*3/5])
rotate([90,0,0])
cylinder(width/2-2,r=width*2/5,true,$fn=100);
translate([thumb_length/2,width/2,width*3/5])
rotate([-90,0,0])
cylinder(width/2-2,r=width*2/5,true,$fn=100);
translate([thumb_length/2-width*2/5,2,0])
cube([2*width*2/5,width-4,width*3/5],false);
translate([thumb_length/2-width/5,2,0])
cube([2/3*width*2/5,width-4,width],false);
translate([thumb_length/2,width/2,0])
rotate([0,45,0])
cube([2*cos(45)*width/5,width,2*sin(45)*width/5],true);
//
// //make a canal for cable routing
translate([0,width/2,width*4/15])
rotate([0,90,0])
cylinder(thumb_length/2,r=0.75,false,$fn=100);
//torsion spring slot
for (i = [0:1:1]){
translate([0,width*(1/3+1/3*i),width*7/15])
rotate([0,90,0])
cylinder(thumb_length/2,d=0.53,false,$fn=50);
}
translate([0,width*1.5/6,width*10.87/15])
rotate([0,90,0])
cylinder(thumb_length/2,d=0.53,false,$fn=50);
}
}
proximal_phalanx(thumb_length, middle_length, palm_width);