Parametric OpenSCAD Enclosure Generator PRO

**[๐Ÿ“– View Full Product Page โ†’](https://belik1982.github.io/BOSL2_clodecode_COMMUNITY/)** # Parametric Enclosure Generator v14.0 PRO ### One file. 130+ parameters. Any enclosure you need. --- ## The Problem It Solves Designing an enclosure for a custom PCB means hours in CAD: drawing walls, modeling connector cutouts, placing standoffs, figuring out lid fastening. Do it once and it takes half a day. Do it for ten different projects and it becomes a bottleneck. This generator solves that. Set your parameters, hit render, print. --- ## How Fast Is It? | Task | Manual CAD | This Generator | |------|-----------|----------------| | Basic box with one connector | 2โ€“4 hours | 3 minutes | | Box with PCB standoffs + 3 connectors + fan | 6โ€“10 hours | 8 minutes | | Iterate on lid joint clearance | 30 min/iteration | 10 sec/iteration | | Generate BOM for ordering | Manual counting | Automatic | --- ## Feature Overview ### Dimensions & Shape - Any size from **20 ร— 20 ร— 10 mm** to **400 ร— 400 ร— 300 mm** - **15 one-click presets** from Micro-Dongle (50ร—35ร—22) to Maxi (250ร—180ร—100) โœ… - Adjustable wall thickness, floor/ceiling thickness, corner rounding, bottom chamfer ### Lid Fastening (5 types) - **Self-tapping screws** โ€” simplest, no hardware needed โœ… - **Snap-fits** โ€” tool-less, three profile styles (trapezoid, rounded, triangle) โœ… - **Magnets** โ€” instant tool-less access, configurable press-fit tolerance โœ… - **Heat-set inserts (Ruthex M2โ€“M5)** โ€” professional, reusable, longest service life โœ… - **Hex nuts** โ€” maximum strength, industrial use โœ… ### Joint Profiles - **Flat** โ€” minimal, clean aesthetic โœ… - **Lip** โ€” overlap joint, standard for most enclosures โœ… - **Ledge** โ€” recessed ring, highest IP-rating potential โœ… - **IP54 gasket groove** โ€” O-ring channel on any joint profile โœ… ### Connectors (26 types) Place up to **8 connectors** on any face. All cutouts are geometrically accurate per datasheets. **FREE (6 types):** USB-C, USB-A, DC Jack M8, Jack 3.5 mm, RJ45, HDMI **PRO adds (20 types):** USB-A Dual, USB-B, Micro/Mini-USB, Mini-HDMI, DB9/15/25, XLR 3/5-pin, Speakon, Jack 6.35, MIDI, DC Jack M11, XT30, XT60, IEC C14, IEC C8, GX16, GX20 โœ… ### Ventilation & Cooling - Top and bottom ventilation: **slots, holes, honeycomb** patterns - Slots (top/bottom) โœ… ยท Holes and honeycomb โœ… - **Side wall ventilation** on any of 4 walls โœ… - **Cooling fan mounts**: 30 / 40 / 60 / 80 / 120 mm with 5 grill styles โœ… ### PCB Support โœ… - **Standoffs** M2 / M2.5 / M3, height 2โ€“60 mm - 2, 3, 4, or 6 standoffs in corner or grid layout - Optional separate printing (PCB_Fused_To_Base = false) - Self-tapping holes with correct diameter coefficients ### Removable Side Panels โœ… - Full-length **tongue-and-groove** joint on top and bottom edges - Trapezoidal tongue profile โ€” draft angle for smooth slide-in - Auto-sized to floor/ceiling thickness with configurable clearance - Any combination: front+back, left+right, or all 4 walls ### Mounting & Installation - **Mounting ears** (2 or 4), configurable size and hole diameter โœ… - **Keyhole slots** for wall mounting without tools โœ… - **Rubber feet** recesses or pads โœ… - **DIN rail TS-35** clip (EN 60715) โœ… - **VESA 75ร—75 / 100ร—100** (MIS-D standard) โœ… ### Cable Management - **Wire cutouts**: circle or slot, any face, adjustable position โœ… - **Cable glands M12 / M16 / M20**: clearance or threaded (IP54โ€“IP68) โœ… - Internal **dividers** (X or Y axis) with optional wire routing hole โœ… ### Text & Labeling - **2 fields, 3 fonts** โ€” FREE โœ… - **4 independent fields, 12 fonts** โ€” PRO โœ… - Any face (top, bottom, front, back, left, right) - Emboss (raised) or deboss (engraved) - Rotation, X/Y offset ### Materials - **PLA / PETG** with automatic XY shrinkage compensation โœ… - **ABS / ASA / Custom** (0โ€“3.0% custom shrinkage coefficient) โœ… ### Console Output โœ… Every render prints to the OpenSCAD console: - Recommended screw length for current configuration - Bill of materials (fasteners, inserts, quantities) - Bambu Studio print settings as JSON - Snap-fit strain analysis (for snap configurations) --- ## Physically Correct Geometry Cutout dimensions verified against manufacturer specifications: - **IEC C14**: 28.2 ร— 22.8 mm per IEC 60320 - **Fan mounting holes**: ร˜ 4.5 mm (M4 clearance, ISO 273) - **Heat-set inserts**: Ruthex M2โ€“M5 datasheet dimensions - **DIN rail**: TS-35 per EN 60715 - **VESA**: MIS-D 75 ร— 75 and 100 ร— 100 mm --- ## Printer Compatibility Designed for **FDM printing**. Zero supports required โ€” all geometry is self-supporting. Tested on: Bambu Lab P1S, P2S, X1C, A1, A1 mini. Works with any FDM printer. Generates Bambu Studio hints automatically. --- ## Version History **v14.0 PRO** (June 2026) โ€” Modular architecture (13 files), tongue-and-groove removable panels, 108 automated tests, Manifold backend support, 26 connectors, 15 presets. --- *OpenSCAD + BOSL2 ยท CC BY-NC-ND 4.0* โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” ๐Ÿ†“ FREE COMMUNITY VERSION Try before you buy: github.com/Belik1982/BOSL2_clodecode_COMMUNITY โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”