-
Notifications
You must be signed in to change notification settings - Fork 5
/
base.scad
71 lines (64 loc) · 2.47 KB
/
base.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
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, 14, 14);
translate([-60, 0, 0]) chamfered_squylinder(5-tol_z, 24);
}
translate([0, 0, -15]) hull() {
chamfered_cylinder(5-tol_z, 14, 14);
translate([-60, 0, 0]) chamfered_squylinder(5-tol_z, 24);
}
translate([-60, 0, -20]) chamfered_squylinder(25-tol_z, 24);
translate([-60, 0, -20]) squylinder(2, 24);
translate([-92, -15, -12]) gopro_male(10);
translate([-92, 15, -12]) gopro_male(10);
}
translate([0, 0, -tol_z]) cylinder(10, r=54);
translate([-60, 0, -tol_z]) cylinder(10, r=11);
translate([-60, 0, -2]) mirror([0, 0, 1]) nema17_hole(30, [1,2], tol_x);
translate([0, 0, -40]) cylinder(40, r=7+tol_x);
}
for (i = [1:2]) rotate([0, 0, i*360/3]) {
difference() {
union() {
translate([0, 0, -5]) hull() {
chamfered_cylinder(5-tol_z, 14, 14);
translate([-60, 0, 0]) scale([.5, 1, 1])
chamfered_squylinder(5-tol_z, 24);
}
translate([0, 0, -15]) hull() {
chamfered_cylinder(5-tol_z, 14, 14);
translate([-60, 0, 0]) scale([.5, 1, 1])
chamfered_squylinder(5-tol_z, 24);
}
translate([-60, 0, -20]) scale([.5, 1, 1])
chamfered_squylinder(25-tol_z, 24);
}
translate([0, 0, -tol_z]) cylinder(10, r=54);
translate([0, 0, -40]) cylinder(40, r=7+tol_x);
}
translate([-80, -15, -12.15]) gopro_male(10);
translate([-80, 15, -12.15]) gopro_male(10);
}
}
module female() {
simple_gear(72, 5-tol_z, -1024);
translate([0, 0, -10]) chamfered_cylinder(5-tol_z, 16, 16);
translate([0, 0, -20]) chamfered_cylinder(5-tol_z, 16, 16);
translate([0, 0, -20]) cylinder(24, r=7);
translate([-15, 0, 5-tol_z+9]) rotate([0, 90, 90]) gopro_female(1.5, base=true);
translate([ 15, 0, 5-tol_z+9]) rotate([0, 90, 90]) gopro_female(1.5, base=true);
}
//translate([-60, 0, -2]) mirror([0, 0, 1]) nema17();
//translate([-60, 0, 0]) rotate([0, 0, 360/24])
//motor_gear();
male();
female();