3D preview of Rectangular Electronics Enclosure
Loading the interactive model…
Interactive 3D model of Rectangular Electronics Enclosure

Brackets and mounts

Rectangular Electronics Enclosure

2 views
Bounding box
145 × 119 × 50 mm
Engine
3D Printing B-rep
Parameters
50
Published
December 1, 2026

Download

Free to download and use. See the terms.

The prompt

Design a 3D-printable two-part rectangular electronics enclosure (base box and separate lid) with outer dimensions of 145 mm length, 95 mm width, and 50 mm height, 2.5 mm wall thickness, and 3 mm rounded vertical outside corners. 1. Base Box & External Mounting: Hollow rectangular box with a 2.5 mm thick flat floor. Add two external side mounting flanges along the bottom outer edges of the long 145 mm walls, each with two 4.2 mm through-holes for mounting to a surface. Inside the four corners of the top rim, add corner screw bosses with 2.5 mm pilot holes to secure the lid. 2. Internal PCB Standoffs (on the inside floor): Add cylindrical standoffs (6 mm outer diameter, 6 mm tall) arranged into three non-overlapping zones across the inside floor: • Zone 1 — 4-Channel 5V Optocoupler Relay Board (Back-Left): Four standoffs with 2.5 mm inner holes (for M3 screws) arranged in a 68.0 mm × 48.0 mm rectangular pattern. • Zone 2 — ESP32 DevKit V1 30-Pin Module (Front-Left): Four standoffs with 2.0 mm inner holes (for M2.5 screws) arranged in a 44.0 mm × 23.0 mm rectangular pattern. • Zone 3 — LM2596 Buck Converter Module (Front-Right): Two standoffs with 2.5 mm inner holes (for M3 screws) spaced 30.5 mm apart diagonally (offset by 30.0 mm along length and 15.0 mm along width). 3. Short-Wall Cutouts (Right 95 mm End Wall): Arrange three cutouts horizontally along the center of the right 95 mm short wall, leaving clear space behind them for the internal boards: • Left (DC Barrel Jack): A circular through-hole of 8.0 mm diameter. • Center (Power Switch): A circular through-hole of 12.2 mm diameter for a mini toggle switch (or replace with a 19.5 mm × 13.0 mm rectangular cutout if using a mini rocker switch). • Right (15EDGWC-4P 3.81 mm Through-Wall Terminal Block): A rectangular cutout measuring 16.5 mm wide by 11.5 mm tall, flanked on the left and right by two 2.2 mm screw mounting holes spaced 21.2 mm apart center-to-center along the horizontal centerline. 4. Lid with 3 Indicator Holes: Create a separate matching flat lid (2.5 mm thick) with a 1.5 mm tall inner alignment lip inset by 0.2 mm clearance per side. Add four 3.2 mm countersunk corner holes aligned with the base's corner bosses. Across the top face of the lid, cut three circular through-holes of [8.2] mm diameter arranged in a straight row spaced 22 mm apart for 12V panel-mount pilot light indicators.

Parameters

NameValueRange
Outer length X145 mm80 – 250
Outer width Y95 mm50 – 200
Base body height47.5 mm20 – 120
Wall thickness2.5 mm1.2 – 6
Floor thickness2.5 mm1.2 – 6
Outside vertical corner radius3 mm0 – 12
Lid plate thickness2.5 mm1.2 – 6
Flange length along X120 mm20 – 400
Flange projection past wall12 mm4 – 40
Flange thickness5 mm2 – 15
Fixing hole diameter4.2 mm2 – 8
Flange hole offset from centre40 mm5 – 200
Boss diameter8 mm5 – 16
Boss height10 mm4 – 30
Pilot hole diameter2.5 mm1.5 – 5
Boss centre inset from outer edge5.5 mm4 – 20
Standoff diameter6 mm4 – 12
Standoff height above floor6 mm3 – 20
Hole pattern X68 mm10 – 120
Hole pattern Y48 mm10 – 120
Pattern centre X-32 mm-70 – 70
Pattern centre Y17.5 mm-45 – 45
Pilot hole diameter2.5 mm1.2 – 6
Hole pattern X44 mm10 – 120
Hole pattern Y23 mm10 – 120
Pattern centre X-44 mm-70 – 70
Pattern centre Y-26 mm-45 – 45
Pilot hole diameter2 mm1.2 – 6
First standoff X30 mm-70 – 70
First standoff Y-30 mm-45 – 45
Offset to 2nd standoff X30 mm0 – 80
Offset to 2nd standoff Y15 mm0 – 80
Pilot hole diameter2.5 mm1.2 – 6
DC jack hole diameter8 mm4 – 30
DC jack Y position-30 mm-45 – 45
Switch hole diameter12.2 mm5 – 30
Switch Y position-5 mm-45 – 45
Terminal block Y position25 mm-45 – 45
Terminal cutout width16.5 mm6 – 40
Terminal cutout height11.5 mm4 – 30
Terminal screw hole diameter2.2 mm1.2 – 5
Terminal screw hole pitch21.2 mm5 – 80
Alignment lip height1.5 mm0.6 – 6
Alignment lip wall thickness2 mm1 – 6
Lip clearance per side0.2 mm0.1 – 0.6
Lid screw hole diameter3.2 mm2 – 6
Countersink diameter6 mm3 – 12
Countersink depth1.2 mm0.4 – 4
Indicator hole diameter8.2 mm3 – 20
Indicator spacing22 mm5 – 60

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.