forked from kliment/i3ext
-
Notifications
You must be signed in to change notification settings - Fork 7
/
gears-kliment.scad
50 lines (44 loc) · 978 Bytes
/
gears-kliment.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
include <gear_script.scad>;
module big_gear() {
difference() {
translate ([0,0,0])
gear(number_of_teeth=20,
circular_pitch=345,
rim_thickness=5,
bore_diameter=6.2
);
translate ([0,0,6])
cylinder(r=10.2/2, h=5, $fn=6);
}
}
// kliment's original
module small_gear()
{
translate([0,0,0])
{
translate ([29,0,0])
rotate ([0,0,360*-1/20]) gear (number_of_teeth=10,
circular_pitch=345,rim_thickness=10,hub_thickness=15,bore_diameter=5.4);
}
}
// kliment's + nut trap and set screw
module small_gear2() {
translate([29,0,0]) {
difference() {
rotate([0,0,360*-1/20])
gear(number_of_teeth=10,
circular_pitch=345,
rim_thickness=10,
hub_thickness=20.5,
hub_diameter=18.5,
gear_thickness=10,
bore_diameter=6.4
);
translate([-3.25,3.75,12]) cube([6.5,3.2,9]);
translate([0,0,9+3.5+3]) rotate([-90,0,0])
cylinder(r=1.75, h=20, $fn=10);
}
}
}
big_gear();
small_gear2();