Skip to content

Instantly share code, notes, and snippets.

@wose
Created May 22, 2017 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wose/5f600e232e039e799fd35442ded4781f to your computer and use it in GitHub Desktop.
Save wose/5f600e232e039e799fd35442ded4781f to your computer and use it in GitHub Desktop.
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