Skip to content

Instantly share code, notes, and snippets.

@andete
Last active August 29, 2015 13:56
Show Gist options
  • Save andete/9287186 to your computer and use it in GitHub Desktop.
Save andete/9287186 to your computer and use it in GitHub Desktop.
minkowski is cool
$fn=10;
minkowski() {
difference() {
cube(size=[100,13,0.5], center=true);
union() {
translate(v=[50,10,0]) rotate(a=[0,0,-30]) cube(size=[30,20,4], center=true);
translate(v=[50,-10,0]) rotate(a=[0,0,30]) cube(size=[30,20,4], center=true);
}
}
sphere(r=0.5, center=true);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment