-
Notifications
You must be signed in to change notification settings - Fork 5
/
gear_joint.scad
74 lines (67 loc) · 2.35 KB
/
gear_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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
use <lib/shapes.scad>
use <lib/gears.scad>
use <lib/nema17.scad>
use <lib/gopro.scad>
$fn = 128;
tol_x = .2;
tol_z = .4;
module male() {
difference() {
union() {
translate([0, 0, -5]) hull() {
chamfered_cylinder(5-tol_z, 20, 20);
translate([-47, 0, 0]) chamfered_cylinder(5-tol_z, 10, 10);
}
translate([0, 0, -15]) hull() {
chamfered_cylinder(5-tol_z, 20, 20);
translate([-47, 0, 0]) chamfered_cylinder(5-tol_z, 10, 10);
}
translate([-43, 0, -20]) rotate([0, 0, 45]) {
chamfered_squylinder(25-tol_z, 24);
squylinder(2, 24);
}
translate([-43, 0, 0]) rotate([0, 0,-45]) {
translate([-32,-15,-3.25]) gopro_male(20);
translate([-32, 15,-3.25]) gopro_male(20);
}
translate([-43, 0, 0]) rotate([0, 0, 45]) {
translate([-32,-15,-3.25]) gopro_male(20);
translate([-32, 15,-3.25]) gopro_male(20);
}
}
translate([0, 0, -tol_z]) cylinder(10, r=36.5);
translate([-43, 0, -tol_z]) cylinder(10, r=11);
translate([-43, 0, -2]) mirror([0, 0, 1])
rotate([0, 0, 45]) nema17_hole(20, [0,1,2]);
translate([0, 0, -40]) cylinder(40, r=7+tol_x);
}
}
module female() {
simple_gear(48, 5-tol_z, -1024);
translate([0, 0, 0]) hull() {
chamfered_cylinder(5-tol_z, 24, 24);
translate([34, 0, 0]) scale([.5, 1, 1])
chamfered_squylinder(5-tol_z, 24);
}
translate([0, 0, -10]) hull() {
chamfered_cylinder(5-tol_z, 7, 7);
translate([34, 0, 0]) scale([.5, 1, 1])
chamfered_squylinder(5-tol_z, 24);
}
translate([0, 0, -20]) hull() {
chamfered_cylinder(5-tol_z, 7, 7);
translate([34, 0, 0]) scale([.5, 1, 1])
chamfered_squylinder(5-tol_z, 24);
}
translate([34, 0, -20]) scale([.5, 1, 1])
chamfered_squylinder(25-tol_z, 24);
translate([0, 0, -20]) chamfered_cylinder(24, 7, 7);
translate([54,-15,-3.25]) rotate([180, 0, 180]) gopro_female(10);
translate([54, 15,-3.25]) rotate([180, 0, 180]) gopro_female(10);
}
//translate([-43, 0, -2]) mirror([0, 0, 1]) rotate([0, 0, 45]) nema17();
//translate([-43, 0, 0])
//rotate([0, 0, 360/24])
//motor_gear();
male();
female();