a3bb53aac8d6b9923d3f5a96bbebd73324679043
2 // GNU AGPLv3 (or later at your option)
3 // project available at these locations:
4 // https://gitorious.org/ozzloy/challenge-bot
5 // https://github.com/waynegramlich/challenge-bot
10 module
encoder_shaft(){
11 motor_shaft_big
= 3.7;
12 motor_shaft_small
= 4.8;
13 motor_shaft_length
= wheel_depth
/ 2;
16 cylinder(h
= motor_shaft_length
,
20 cube([motor_shaft_big
* 2.1, motor_shaft_small
, motor_shaft_length
],
23 module
mounting_screw(){
24 cylinder(h
= wheel_depth
* 1.1, r
= 1, $fn
= 30, center
= true);}
27 translate([0, 0, wheel_depth
/ 2]){
29 cylinder(h
= wheel_depth
, r
= wheel_radius
, center
= true, $fn
= 30);
30 translate([0, 0, wheel_depth
/ 4]){
35 rotate(i
* 360/5, [0, 0, 1]){
36 translate([0, 0, -0.6 * wheel_depth
])
38 translate([0, 0, wheel_depth
/ 4]){
40 cylinder(h
= wheel_depth
/ 1.2,
41 r
= 0.85 * wheel_radius
,
43 cylinder(h
= wheel_depth
/ 1.2,
44 r
= 0.23 * wheel_radius
,
48 cube([wheel_radius
, wheel_radius
, wheel_depth
]);}
52 translate([0, 0, wheel_depth
/ 2]){
53 cylinder(h
= wheel_depth
,
54 r
= 0.85 * wheel_radius
,
56 translate([0, wheel_radius
* 0.3, 0]){
57 rotate([0, 0, (360 / 5) / 2]){
60 rotate([0, 0, 90 - 360 / 5])
63 module
between_spokes(){
66 cylinder(h
= wheel_depth
/ 2, r
= 1, $fn
= 30);}}