projects
/
ozzloy@gmail.com
/
3d-printables
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
04db476
)
make radioactive symbol cap
author
daniel watson
<ozzloy@gmail.com>
Sun, 14 May 2017 02:53:32 +0000
(19:53 -0700)
committer
daniel watson
<ozzloy@gmail.com>
Sun, 14 May 2017 02:53:32 +0000
(19:53 -0700)
spin-data.scad
patch
|
blob
|
blame
|
history
diff --git
a/spin-data.scad
b/spin-data.scad
index 62eefbcef303d67105aea7c9aa10a1ce4903ef3c..f8d671d41fbead627ed6ac7310ad8c8d769e7117 100644
(file)
--- 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;
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() {
difference() {
union() {
@@
-85,12
+86,20
@@
module cap(bearing_inner_radius,
+ footprint_height
+ bearing_thickness / 2
- bearing_thickness_safety) {
+ 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,
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;
module donut(height, footprint_radius) {
bread_radius = height / 2;