From: daniel watson Date: Sun, 14 May 2017 02:53:32 +0000 (-0700) Subject: make radioactive symbol cap X-Git-Url: http://challenge-bot.com/repos/?p=ozzloy%40gmail.com%2F3d-printables;a=commitdiff_plain;h=23616d65656ea6d761f05652c14ee62462d36008 make radioactive symbol cap --- 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;