$fn = 64; // Parameters height = 48; // 4-unit height outer_radius = 30; // Versatile depth/width (radius to outer corner) wall_thickness = 2.0; // Thickness of the bin walls bottom_thickness = 2.0; // Thickness of the bin floor module hex_bin() { difference() { // Main outer hexagonal body cylinder(h = height, r = outer_radius, $fn = 6); // Inner hollow cavity // Z-height is increased slightly to prevent manifold rendering artifacts (Z-fighting) translate([0, 0, bottom_thickness]) cylinder(h = height - bottom_thickness + 1, r = outer_radius - wall_thickness, $fn = 6); } } hex_bin();