use <qr.scad>
-qr_size = 54;
+qr_size = 45;
qr_height = 2;
wall_width = 3;
-wheel_width = 6;
+wheel_width = 9;
wheel_radius = sqrt(2 * pow(qr_size / 2, 2)) + wall_width / 2;
motor_shaft_radius = 3.7;
motor_shaft_flat_width = 4.8;
-tread_radius = 2.5 / 2;
+tread_radius = 4 / 2;
module mounting_screw_flat(){
- square(2, center = true);}
+ circle(0.9);}
module motor_shaft_flat(radius, flat_width){
intersection(){
wall_width,
tread_radius){
difference(){
- rim(radius, wall_width, width);
+ rim(radius, wall_width * 2, width);
translate([0, 0, width / 2]){
tread(radius, tread_radius);}}
- qr_size = 54;
- qr_height = 2;
linear_extrude(height = qr_height){
- square(qr_size, center = true);}
+ difference (){
+ square(qr_size, center = true);
+ mounting_screw_flat(); } }
translate([0, 0, qr_height]){
motor_shaft_holder(shaft_radius,
shaft_flat_width,