Power Supply Enclosure

This OpenSCAD code defines a 3D model for a custom electronics enclosure or power control box. It is designed to house a power connector, a display panel, and physical control components.

📐 Key Dimensions

  • Outer Dimensions: 102 mm (Width) × 46 mm (Depth) × 42 mm (Height)
  • Wall Thickness: 2 mm
  • Back Wall Height: 57 mm (Extends 15 mm above the main body to support mounting tabs)

🛠️ Structural Features & Cutouts

  • Front Panel (Interface):
  • A cutout with screw mounting holes for an XT60E-F power connector.
  • A rectangular cutout for a rocker power switch.
  • A larger rectangular cutout for a digital voltage display panel.
  • A circular hole for a fan speed control potentiometer.

  • Left Wall: A matrix of ventilation holes generated by the PerfX module to keep internal electronics cool.
  • Right Wall: A large circular cable outlet for clean wire routing.
  • Mounting Tabs: Three integrated tabs with screw holes (two on the back wall and one on the left side) to secure the enclosure to a flat surface.