make radioactive symbol cap
authordaniel watson <ozzloy@gmail.com>
Sun, 14 May 2017 02:53:32 +0000 (19:53 -0700)
committerdaniel watson <ozzloy@gmail.com>
Sun, 14 May 2017 02:53:32 +0000 (19:53 -0700)
spin-data.scad

index 62eefbcef303d67105aea7c9aa10a1ce4903ef3c..f8d671d41fbead627ed6ac7310ad8c8d769e7117 100644 (file)
@@ -68,7 +68,8 @@ module cap(bearing_inner_radius,
   footprint_radius_safety = 0.2;
   cap_height = 3;
   bearing_thickness_safety = 0.6;
-  finger_spot_height = cap_height / 10;
+  finger_spot_height = cap_height * 2 / 3;
+  stripes = 3;
 
   difference() {
     union() {
@@ -85,12 +86,20 @@ module cap(bearing_inner_radius,
                               + footprint_height
                               + bearing_thickness / 2
                               - bearing_thickness_safety) {
-        circle(bearing_inner_radius); }
-    }
+        circle(bearing_inner_radius + 0.1); } }
     translate([0, 0, -0.01]) {
       cylinder(r1 = bearing_inner_radius,
                r2 = bearing_inner_radius - tan(30) * finger_spot_height,
-               h = finger_spot_height); } } }
+               h = finger_spot_height);
+      for(stripe = [0 : stripes - 1]) {
+        rotate((stripe / stripes) * 360) {
+          linear_extrude(height = finger_spot_height) {
+            polygon([[0, 0],
+                     [bearing_cover_radius * 2, 0],
+                     [cos(3 + 360 / (stripes * 2))
+                      * bearing_cover_radius * 2,
+                      sin(3 + 360 / (stripes * 2))
+                      * bearing_cover_radius * 2]]); } } } } } }
 
 module donut(height, footprint_radius) {
   bread_radius = height / 2;