diff options
Diffstat (limited to 'wheel.scad')
-rw-r--r-- | wheel.scad | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,6 +1,6 @@ // this is an approximation of a wheel; all measurements are *guessed* module wheel() { - r_rim=150; + r_rim=406.4/2; // 16" r_tire=15; r_hub=30; r_axis=5; @@ -17,8 +17,7 @@ module wheel() { cylinder(r=r_hub, h=1, center=true); cylinder(r=r_axis, h=125, center=true); - - + // spokes angular_step=360/8; for (angle = [0:angular_step:360]) @@ -26,7 +25,7 @@ module wheel() { for (dir = [-1,1]) rotate(angle + side * angular_step/4) translate([r_hub - 1, -dir*4, side*r_tire]) - rotate([0, 90 + side*8, dir*20]) + rotate([0, 90 + side*5.5, dir*20]) cylinder(r=1, h=r_rim - r_hub); } |