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
= 100, center
= true);}
27 translate([0, 0, wheel_depth
/ 2]){
29 cylinder(h
= wheel_depth
, r
= wheel_radius
, center
= true, $fn
=100);
30 translate([0, 0, wheel_depth
/4]){
35 rotate(i
* 360/5, [0, 0, 1]){
36 translate([0, 0, -0.6 * wheel_depth
])
37 between_spokes();}}}}}
40 cube([wheel_radius
, wheel_radius
, wheel_depth
]);}
44 translate([0, 0, wheel_depth
/ 2]){
45 cylinder(h
= wheel_depth
,
46 r
= 0.7 * wheel_radius
,
48 translate([0, wheel_radius
* 0.3, 0]){
49 rotate([0, 0, (360/5)/2]){
52 rotate([0, 0, 90 - 360/5])
55 module
between_spokes(){
58 cylinder(h
= wheel_depth
, r
= 1, $fn
=100);}}