forked from KitWallace/openscad
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsavoy_taper
More file actions
28 lines (23 loc) · 707 Bytes
/
savoy_taper
File metadata and controls
28 lines (23 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
module savoy(s) {
scale(s) translate([-20,-70,0])import("savoy.dxf");
};
module base (size,thickness) {
linear_extrude(height=thickness,complexity=10)
minkowski() { savoy(size); circle(r=thickness); };
};
module sides(size, height, thickness) {
linear_extrude(height=height,complexity=10)
difference() {
minkowski() { savoy(size); circle(r=thickness); }
savoy(size);
}
};
module vase(size_bottom,size_top,height,step, thickness) {
base(size_bottom,thickness);
for (z = [0:step:height]) {
assign( size = size_bottom + (size_top - size_bottom) * z /height)
translate([0,0,z])
sides (size,step,thickness);
}
};
vase(0.3,0.38,40,0.2,2);