Skip to content

Instantly share code, notes, and snippets.

@kintel
Created January 3, 2014 19:51
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 kintel/8245291 to your computer and use it in GitHub Desktop.
Save kintel/8245291 to your computer and use it in GitHub Desktop.
module savoy(s) {
scale(s) translate([-20,-70,0]) import("savoy.dxf");
}
module outer(size, thickness) {
minkowski() { savoy(size); circle(r=thickness); }
}
module base(size, thickness) {
linear_extrude(height=thickness,complexity=10) {
outer(size, thickness);
}
}
module wall(size, thickness) {
difference() {
outer(size, thickness);
savoy(size);
}
}
module vase(size_bottom, size_top, height, thickness) {
base(size_bottom,thickness);
linear_extrude(height=height, scale=size_top/size_bottom) {
wall(size_bottom,thickness);
}
};
vase(0.3,0.38,40,2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment