X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=3d-printables%2Fwheel.scad;h=1d1994e45b66b7a112d62e7324c46101c86d7026;hb=f747b5748a03b4c0fd6386b8e17aebd2d18d4b9e;hp=4b806f44336c0843c6215484844539e6a440ca7e;hpb=defb83a569d08482877a09e15ed0853c44b72b30;p=challenge-bot diff --git a/3d-printables/wheel.scad b/3d-printables/wheel.scad index 4b806f4..1d1994e 100644 --- a/3d-printables/wheel.scad +++ b/3d-printables/wheel.scad @@ -11,21 +11,21 @@ $fn = 100; use -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(){ @@ -108,13 +108,13 @@ module wheel_solid(radius, 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,