lampshade_scad/lampshade_conical.scad

14 lines
268 B
OpenSCAD

height = 110;
bottom_d = 44;
top_d = 170;
facets = 40;
bottom_r=bottom_d/2;
top_r=top_d/2;
thickness=2;
difference() {
cylinder(height, bottom_r, top_r, $fn=facets);
translate([0,0,-0.01])
cylinder(height+0.02, bottom_r-thickness, top_r-thickness, $fn=facets);
}