Enclosures and housings
Glasses Temple Electronics Enclosure
- Bounding box
- 150 × 34 × 25 mm
- Engine
- 3D Printing B-rep
- Parameters
- 27
- Published
- November 23, 2026
Download
Free to download and use. See the terms.
The prompt
Design a 3D-printable enclosure for a XIAO ESP32S3 on a glasses temple, as two parts: a base case and a screw-on cover. All dimensions in mm. Keep it compact. BASE CASE - Outer size 60 long x 34 wide x 25 tall. The cover side is open. Walls 2 mm, top face 2 mm. Rounded vertical edges, 2.5 mm radius. - Interior is 56 x 30 x 23, with the components stacked in layers, not side by side: - Layer 1 (nearest the cover): ESP32 board, 23 x 19 x 9, in a 10 mm tall pocket with four small corner ribs to hold it in place. Keep a clear 5 mm gap beside the USB-C end for the plug. - Layer 2: a 1 mm separator plate, with a 6 x 4 mm hole through it for the wires to pass. - Layer 3 (under the top face): battery bay, 33 x 29 x 8, for a battery measuring 32 x 28 x 7, with retaining ribs along the edges. - Switch area: in the leftover length beside the stack, add an internal pocket for a slide switch (9 mm long x 5 mm high body, legs included) directly under the top-face slot. Around the slot, thin the top face to 1 mm with a 12 x 8 mm recess on the inside, so the slider protrudes through the slot. - Button slider slot: 5 x 3 mm through the top face, above the switch pocket. - USB-C slit: 14 wide x 10 tall, through the left long wall at the ESP32 layer, with a 0.5 mm chamfer. - Back cable slot: 12 x 8 mm through the end wall, for the antenna cable. - Antenna pad: a flat 38 x 20 mm area on the outside of the right long wall, recessed 0.5 mm, centered, with a 3 mm hole into the case at one end for the antenna cable. - Four M2 screw posts in the corners at the cover edge: 4 mm outer diameter, 1.6 mm pilot hole. COVER - Flat plate 60 x 34 x 2.5 mm with four 2.4 mm countersunk screw holes at the post positions. - Camera ribbon slit: 10 x 8 mm through the plate, 10 mm from one short edge and 6 mm from the nearest long edge. - Outer face: two parallel prongs that grip a glasses temple, each 40 long, 1.5 thick, 3 tall, with a 10.3 gap between them and a 0.5 inward hook at each tip. Export two STLs (base and cover), each flat side down for printing without supports.
Parameters
| Name | Value | Range |
|---|---|---|
| Case length | 60 mm | 58 – 70 |
| Case width | 34 mm | 34 – 42 |
| Case height | 25 mm | 24 – 32 |
| Wall thickness | 2 mm | 1.8 – 3 |
| Vertical corner radius | 2.5 mm | 2 – 4 |
| Battery bay length | 33 mm | 33 – 36 |
| Battery bay width | 29 mm | 29 – 30 |
| Battery bay height | 8 mm | 8 – 10 |
| Board pocket length | 23 mm | 21 – 25 |
| Board pocket width | 19 mm | 18 – 21 |
| Board pocket height | 10 mm | 9 – 11 |
| Separator thickness | 1 mm | 1 – 1.4 |
| USB opening width | 14 mm | 12 – 16 |
| USB opening height | 10 mm | 8 – 10 |
| Cable opening width | 12 mm | 10 – 14 |
| Cable opening height | 8 mm | 6 – 10 |
| Switch slot length | 5 mm | 4 – 6 |
| Switch slot width | 3 mm | 3 – 4 |
| Ribbon opening length | 10 mm | 8 – 12 |
| Ribbon opening width | 8 mm | 6 – 9 |
| Cover thickness | 2.5 mm | 2 – 4 |
| Prong length | 40 mm | 35 – 45 |
| Prong thickness | 1.5 mm | 1.2 – 2 |
| Prong height | 3 mm | 3 – 5 |
| Gap between prongs | 10.3 mm | 9 – 11 |
| Inward hook projection | 0.5 mm | 0.5 – 1 |
| Part spacing along X | 90 mm | 80 – 150 |
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.
More models
Browse the full gallery →Cylindrical Stainless Steel Basket with Folding Handles
Design a cylindrical 304 stainless steel basket with an outer diameter of 200 mm and height of 250 mm. The basket has solid side walls with no perforations. The bottom plate contai
Lego 1x4 Technic Brick
Create a precise 3D CAD model of a single 1x4 Lego Technic-compatible brick designed for STEM robotics. The main rectangular body must have exact dimensions: 31.8 mm in length, 7.8
Honeycomb Flow Straightener
Create a single-piece, 3D-printable honeycomb flow straightener for a DIY wind tunnel. Exact dimensions: Outer width: 200 mm Outer height: 200 mm Depth: 60 mm Hexagonal honeyc
Immersion Cooling Enclosure
Design a sealed high-pressure dielectric immersion cooling enclosure for cylindrical battery cells. Internal cavity dimensions: 540mm length, 360mm width, 160mm height with 6mm wal
Desktop Air Purifier Assembly
# DESIGN: PORTABLE DESKTOP AIR PURIFIER WITH MINIATURE CENTRIFUGAL FAN Create a detailed, dimensionally accurate, 3D mechanical CAD assembly of a compact portable desktop air puri
Oval Safety Snap Carabiner
Create a simple alloy steel safety snap carabiner for me to download to solidworks. I should be able to link it to a ring of another part in solidworks.
