Skip to content

Instantly share code, notes, and snippets.

@moritzmhmk
Last active May 11, 2018 14:45
Show Gist options
  • Save moritzmhmk/10de63da6872be25842d843866c836cf to your computer and use it in GitHub Desktop.
Save moritzmhmk/10de63da6872be25842d843866c836cf to your computer and use it in GitHub Desktop.
$fn=64;
difference() {
cylinder(r=15, h=3, center=true);
difference() {
cylinder(r=15-2.5, h=40, center=true);
cylinder(r=15-2.5-4.5, h=40, center=true);
rotate([0,0,0]) translate([15/2,0,0]) cube([15,30,40], center=true);
rotate([0,0,180+110]) translate([15/2,0,0]) cube([15,30,40], center=true);
}
cylinder(r=15-3-4.5-3, h=40, center=true);
rotate([0,0,-10]) translate([15/2,0,0]) cube([15,30,40], center=true);
translate([0,-24.5/2,0]) cube([10,24.5,47], center=true);
}
difference() {
translate([-3-5,-12,0]) cube([3,8,8]);
rotate([0,90,0]) translate([-4,-8,-10]) cylinder(d=3.5, h=10);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment