$fn=64; // Parameters height = 12; // 1-unit height for tiny components outer_radius = 25; // Outer circumradius of the hexagon wall_thickness = 1.5; // Thickness of the walls floor_thickness = 1.5; // Thickness of the base // Calculate inner radius to maintain uniform wall thickness inner_radius = outer_radius - (wall_thickness / cos(30)); difference() { // Main outer body cylinder(h=height, r=outer_radius, $fn=6); // Inner cavity (height + 1 to ensure clean manifold cut at the top) translate([0, 0, floor_thickness]) cylinder(h=height + 1, r=inner_radius, $fn=6); }