From: daniel watson Date: Fri, 16 Jun 2017 21:49:08 +0000 (-0700) Subject: use spokes on wheels X-Git-Url: http://challenge-bot.com/repos/?p=challenge-bot;a=commitdiff_plain;h=896e93d7c352ffdd92bb5f6b161636d13e62d915 use spokes on wheels --- diff --git a/.gitignore b/.gitignore index 361fe6d..9367188 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ media/ *.JPG *.aux *.log +*.tex diff --git a/3d-printables/wheel-data.scad b/3d-printables/wheel-data.scad index 2fd9f7f..70dc710 100644 --- a/3d-printables/wheel-data.scad +++ b/3d-printables/wheel-data.scad @@ -67,13 +67,19 @@ module wheel(radius, shaft_flat_width, wall_width, tread_radius) { + spoke_count = 7; + spoke_width = radius / 3; difference() { rim(radius, wall_width * 2, width); translate([0, 0, width / 2]) { tread(radius, tread_radius); } } linear_extrude(height = wheel_square_spoke_thickness) { difference() { - square(wheel_square_spoke_size, center = true); + union(){ + for(spoke = [0: spoke_count - 1]) { + rotate(spoke * 360 / spoke_count) { + translate([-spoke_width / 2, 0]){ + square([spoke_width, radius - 2]); } } } } mounting_screw_flat(); } } translate([0, 0, wheel_square_spoke_thickness]) { motor_shaft_holder(shaft_radius,