3D preview of Snap-Fit Box with Lid
Loading the interactive model…
Interactive 3D model of Snap-Fit Box with Lid

Enclosures and housings

Snap-Fit Box with Lid

33 views
Bounding box
100.0 × 62.0 × 42.0 mm
Engine
Precision B-rep
Parameters
11
Published
August 7, 2026

Download

Free to download and use. See the terms.

The prompt

lid_thickness = wall; lip_depth = 0.18; lip_clearance = 0.015; module lid(){ difference(){ // Top plate roundedBox( outside_length, outside_width, lid_thickness, corner_radius); // Recess to reduce weight translate([ wall, wall, -0.01]) cube([ outside_length-2*wall, outside_width-2*wall, lid_thickness+0.02]); } // Internal locating lip translate([ wall+lip_clearance, wall+lip_clearance, -lip_depth]) difference(){ cube([ outside_length-2*(wall+lip_clearance), outside_width-2*(wall+lip_clearance), lip_depth]); translate([ wall, wall, -0.01]) cube([ outside_length-2*(wall+lip_clearance)-2*wall, outside_width-2*(wall+lip_clearance)-2*wall, lip_depth+0.02]); } //==================== // Snap Tabs //==================== tab_w = 0.35; tab_t = 0.10; tab_l = 0.35; for(side=[0,1]){ translate([ (side==0)? outside_length*0.25: outside_length*0.75, -wall/2, 0]) cube([tab_w,tab_l,tab_t]); translate([ (side==0)? outside_length*0.25: outside_length*0.75, outside_width-tab_l+wall/2, 0]) cube([tab_w,tab_l,tab_t]); } } //==================== // Assembly Preview //==================== body(); translate([0,0,outside_height]) lid();

Parameters

NameValueRange
Box Length100 mm20 – 500
Box Width60 mm20 – 500
Box Height40 mm10 – 300
Wall Thickness2 mm0.5 – 10
Corner Radius5 mm0.5 – 20
Lid Thickness2 mm0.5 – 10
Lip Depth4.5 mm1 – 20
Lip Clearance0.3 mm0.1 – 2
Tab Width8.9 mm5 – 30
Tab Length8.9 mm5 – 30
Tab Thickness2.5 mm0.5 – 5

Every value above is a live dimension. Open a model like this in the editor and each one becomes a slider you can drag before exporting.