Skip to content

Instantly share code, notes, and snippets.

@Uko

Uko/SophiPot.scad

Created Jan 24, 2020
Embed
What would you like to do?
top_d = 107;
wider_ridge_d = 100;
narrower_ridge_d = 92;
bottom_d = 78;
top_h = 18;
h = 80;
module plant() {
translate([0,0, h-top_h])
cylinder(d1=wider_ridge_d, d2=top_d, h = top_h, $fn=120);
cylinder(d1=bottom_d, d2=narrower_ridge_d, h = h-top_h, $fn=120);
}
wall = 2.54;
module pot() {
rotate_extrude($fn=160) {
difference() {
// outer circle
translate([wall, 58, 0])
scale([1, 1.4, 1])
circle(d = top_d * 1.08, $fn=160);
// inner circle w/o bottom
difference() {
translate([0, 58,0 ])
scale([1, 1.4, 1])
circle(d = top_d * 1.08, $fn=160);
translate([0, -200])
square(200);
}
// cutaway the top
translate([-100, h+1])
square(200);
// cutaway the bottom
translate([-100, -200-3])
square(200);
}
// have a rounded top
translate([55.385+wall/2, h+1])
scale([1,3/4])
circle(d=wall, $fn=60);
}
}
%color("blue")
projection(cut = true)
rotate([-90, 0, 0]) plant();
%color("red")
projection(cut = true)
rotate([-90, 0, 0]) pot();
color("yellow", 0.5)
pot();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.