import math
import json
from dataclasses import dataclass, asdict
# =========================
# Locked Mechanical Inputs
# =========================
CASE = {
"name": "ESP32_game_console_v4",
"size_mm": { "x": 76.382, "y": 99.000, "z": 30.000 },
"bounds": {
"x_min": -72.315,
"x_max": 4.067,
"y_min": -2.712,
"y_max": 96.288,
"z_min": 0.000,
"z_max": 30.000,
},
}
COVER = {
"name": "ESP32_game_console_cover",
"size_mm": { "x": 76.379, "y": 97.235, "z": 11.889 },
"bounds": {
"x_min": 56.419,
"x_max": 132.798,
"y_min": 2.658,
"y_max": 99.893,
"z_min": -0.671,
"z_max": 11.218,
},