
outdoor sensor box 3d model
Write clean, parametric OpenSCAD code for a 3D-printable outdoor sensor box. Use variables for dimensions and a `part = "base";` / `"lid";` switch for separate rendering. Include these exact specs: 1. Base Cavity: 77x66x25mm inner space (fits YP677362 battery at the bottom, ESP32 Wroom32 and a 31.5x30.5mm MC-73871 charger side-by-side above it). 2. Sensor Isolation: A separate bottom corner pocket for a BME680 sensor with 3x small air vent slots, keeping it shielded from ESP32 heat. 3. Solar Roof Lid: The lid must feature a recessed frame for a 6W solar panel (270x175x2.5mm) with a 4mm wire hole underneath. Flared the main body outward to meet this larger lid size, creating a protective "awning" over the lower vents to shed rainwater.
2K·v3.1-20260211







