provide hole for #2 screw in wheel
[challenge-bot] / 3d-printables / wheel.scad
index bcf91f883e5df16e76b63d3c28169af1830084db..02dc054cec6297a1587047001d787f298560ba38 100644 (file)
@@ -101,9 +101,40 @@ module wheel(radius,
               tread_radius);
   wheel_white();}
 
+module wheel_solid(radius,
+                   width,
+                   shaft_radius,
+                   shaft_flat_width,
+                   wall_width,
+                   tread_radius){
+  difference(){
+    rim(radius, wall_width, width);
+    translate([0, 0, width / 2]){
+      tread(radius, tread_radius);}}
+  qr_size = 54;
+  qr_height = 2;
+  linear_extrude(height = qr_height){
+    difference (){
+      square(qr_size, center = true);
+      square(1.5, center = true);}}
+  translate([0, 0, qr_height]){
+    motor_shaft_holder(shaft_radius,
+                       shaft_flat_width,
+                       wall_width,
+                       width - qr_height);}}
+
+/*
 wheel(wheel_radius,
       wheel_width,
       motor_shaft_radius,
       motor_shaft_flat_width,
       wall_width,
       tread_radius);
+*/
+
+wheel_solid(wheel_radius,
+            wheel_width,
+            motor_shaft_radius,
+            motor_shaft_flat_width,
+            wall_width,
+            tread_radius);