From 23616d65656ea6d761f05652c14ee62462d36008 Mon Sep 17 00:00:00 2001 From: daniel watson Date: Sat, 13 May 2017 19:53:32 -0700 Subject: [PATCH] make radioactive symbol cap --- spin-data.scad | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/spin-data.scad b/spin-data.scad index 62eefbc..f8d671d 100644 --- a/spin-data.scad +++ b/spin-data.scad @@ -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; -- 2.30.2