Created
January 3, 2014 19:51
-
-
Save kintel/8245291 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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