-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTenticle_arm_joint.scad
54 lines (41 loc) · 1.19 KB
/
Tenticle_arm_joint.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
include <./servo-s2309s.scad>;
wall=1.75;
BeamLength=8;
//The amount of extra space around the servo.
ServoPadding=0.2;
difference(){
translate([-AxleOffset+0.01,-wall-ServoBody[1]/2,-FlangeToBottom-wall])
union(){
cube([ServoBody[0]+wall,ServoBody[1]+wall*2,FlangeToBottom+wall+Flange[2]]);
translate([0,wall+ServoBody[1]/2,0])
cylinder(r=wall+ServoBody[1]/2,h=FlangeToBottom+wall+Flange[2]);
}
draw_servo([0,0,0]);
//cable out.
translate([-14.9,-10,-FlangeToBottom-wall-0.2])
cube([10,20,11]);
//Arch for servo cable.
translate([-4.5,0,-8]) scale([0.3,1,1]) cylinder(r=12.5/2,h=9);
//pivot hole
translate([0,0,-FlangeToBottom-0.01])
rotate([0,180,0]) cylinder(r=2.5, h=5);
}
draw_servo([0,0,0]);
rotate([0,0,180])
translate([1+wall*2,7-wall-ServoBody[1]/2,-FlangeToBottom-wall])
beam(BeamLength);
rotate([0,0,180])
translate([BeamLength+10+wall,7-wall-ServoBody[1]/2,-FlangeToBottom-wall]) clamp();
//cable hoop.
translate([18,7,-16.6])
difference(){
cube([wall,4+wall,10+(wall*2)]);
translate([-0.1,0,wall]) cube([wall+0.2,4,10]);
}
//mirror cable hoop.
rotate([180,0,0])
translate([18,7,6.6-(wall*2)])
difference(){
cube([wall,4+wall,10+(wall*2)]);
translate([-0.1,0,wall]) cube([wall+0.2,4,10]);
}