Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save plumbum/39534bc90de0545bbeb9c3f00b77f330 to your computer and use it in GitHub Desktop.
Save plumbum/39534bc90de0545bbeb9c3f00b77f330 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
$fn = 25;
difference() {
union() {
translate([8, 8, 0]) {
cylinder(h=4, r=8);
}
translate([8, 8+15, 0]) {
cylinder(h=4, r=8);
}
translate([0, 8, 0]) {
cube([16, 15, 4]);
}
for(i = [0:3]) {
translate([0, 0, 4+6*i]) {
translate([8, 8, 0]) {
cylinder(h=2, r=6);
}
translate([8, 8+15, 0]) {
cylinder(h=2, r=6);
}
translate([2, 8, 0]) {
cube([12, 15, 2]);
}
}
}
translate([8, 8, 0]) {
cylinder(h=25, r=3);
}
translate([8, 8+15, 0]) {
cylinder(h=25, r=3);
}
}
union() {
translate([8, 8, 0]) {
cylinder(h=26, d=2.56);
cylinder(h=2.4, r=3);
}
translate([8, 8+15, 0]) {
cylinder(h=26, d=2.56);
cylinder(h=2.4, r=3);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment