make big wheel spokes smaller, rim larger
[challenge-bot] / 3d-printables / wheel.scad
index 87ec2865c38c456da267159bce0b19b41291c92d..db92ca76319b8a09baf7410a84dfa0841fb321ed 100644 (file)
@@ -7,10 +7,10 @@
 // use $fn = 20 while developing, 100 when about to print
 //  20 will make previews fast
 //  100 will make printing smooth
-$fn = 20;
+$fn = 100;
 
 wheel_depth = 6;
-wheel_radius = 68/2;
+wheel_radius = 130/2;
 
 module encoder_shaft(){
   // measured with calipers, checked against the motor shaft
@@ -43,10 +43,10 @@ module wheel(){
       translate([0, 0, wheel_depth / 4]){
         difference(){
           cylinder(h = wheel_depth / 1.2,
-                   r = 0.85 * wheel_radius,
+                   r = wheel_radius - 3,
                    center = true);
           cylinder(h = wheel_depth / 1.2,
-                   r = 0.23 * wheel_radius,
+                   r = 6,
                    center = true);}}}}}
 
 module wheel_block(){
@@ -56,9 +56,9 @@ module pie_slice(){
   intersection(){
     translate([0, 0, wheel_depth / 2]){
       cylinder(h = wheel_depth,
-               r = 0.85 * wheel_radius,
+               r = wheel_radius - 4,
                center = true);}
-    translate([0, wheel_radius * 0.3, 0]){
+    translate([0, wheel_radius * 0.15, 0]){
       rotate([0, 0, (360 / 5) / 2]){
         intersection(){
           wheel_block();