// challenge-bot // GNU AGPLv3 (or later at your option) // project available at these locations: // https://gitorious.org/ozzloy/challenge-bot // https://github.com/waynegramlich/challenge-bot module encoder_shaft(){ motor_shaft_big = 3.7; motor_shaft_small = 4.8; motor_shaft_length = 7.65 / 2; intersection(){ cylinder(h = motor_shaft_length, r = motor_shaft_big, center = true, $fn=100); cube([motor_shaft_big * 2.1, motor_shaft_small, motor_shaft_length], center = true);}} module wheel(){ depth = 7.65; radius = 68/2; difference(){ cylinder(h = depth, r = radius, center = true, $fn=100); translate([0, 0, 7.65/4]) scale([1, 1, 1.1]) encoder_shaft(); cylinder(h = depth * 1.1, r = 1, $fn = 100, center = true);}} translate([0, 0, 7.65/2]) wheel();