Created
May 22, 2017 19:53
-
-
Save wose/5f600e232e039e799fd35442ded4781f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rings=9; | |
ring_dist=12; | |
ring_dia=3; | |
// fibonacci | |
//holes=[1, 3, 5, 8, 13, 21, 34, 55, 89, 144, 144 + 89]; | |
holes=[1, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60]; | |
plate_dia=200; | |
plate_thickness=5; | |
$fn = 50; | |
$fs = 0.01; | |
difference() { | |
cylinder(h=plate_thickness, d=plate_dia); | |
for (ring = [0:rings-1]) | |
for (hole = [0:holes[ring]]) | |
rotate(a= 360.0 / holes[ring] * hole) | |
translate([ring_dist * ring, 0, 0]) | |
cylinder (h = 20, d=ring_dia, center=true); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment