Skip to content

Instantly share code, notes, and snippets.

@kintel
Last active August 29, 2015 14:10
Show Gist options
  • Save kintel/ca895b5ce3ec4b8ba028 to your computer and use it in GitHub Desktop.
Save kintel/ca895b5ce3ec4b8ba028 to your computer and use it in GitHub Desktop.
frame
difference() {
linear_extrude(10)
hull()
for (t=[[0,0], [60,0], [60,40], [0,40]])
translate(t) circle(4);
translate([0,0,2]) linear_extrude(10)
hull()
for (t=[[5,5], [55,5], [55,35], [5,35]])
translate(t) circle(4);
}
module base() {
difference() {
linear_extrude(10)
hull()
for (t=[[0,0], [60,0], [60,40], [0,40]])
translate(t) circle(4);
translate([0,0,2]) linear_extrude(10)
hull()
for (t=[[5,5], [55,5], [55,35], [5,35]])
translate(t) circle(4);
}
}
minkowski() {
base();
sphere(2);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment