Fix bottom roundness
This commit is contained in:
parent
a85a93a9a9
commit
60f8e5d831
11
planter.scad
11
planter.scad
|
@ -80,12 +80,17 @@ module body(h, fn = 20) {
|
|||
module bottom() {
|
||||
full_diameter = (diameter + thickness * 2) + cut_depth * 2;
|
||||
|
||||
difference() {
|
||||
intersection() {
|
||||
translate([0, 0, -full_diameter / 2 * bottom_roundness_percent / 100])
|
||||
body(full_diameter / 2 * bottom_roundness_percent / 100);
|
||||
|
||||
half_sphere(d = full_diameter);
|
||||
}
|
||||
|
||||
scale([1, 1, 0.2])
|
||||
half_sphere(d = diameter);
|
||||
}
|
||||
}
|
||||
|
||||
// The planter
|
||||
|
@ -95,11 +100,7 @@ module planter() {
|
|||
difference() {
|
||||
body(height);
|
||||
|
||||
translate([0, 0, -1])
|
||||
cylinder(d = diameter, h = height + 2);
|
||||
|
||||
scale([1, 1, 0.2])
|
||||
half_sphere(d = diameter);
|
||||
cylinder(d = diameter, h = height + 1);
|
||||
}
|
||||
|
||||
bottom();
|
||||
|
|
Loading…
Reference in New Issue