{
 "checks": [
  {
   "check": "Static interference, 210 part pairs (7 enclosure parts x 27 board items + enclosure pairs)",
   "passed": true,
   "value": "unplanned overlap volume 0.0000 mm3; designed overlaps: rear_housing/screw_H1 3.8359 mm3; rear_housing/screw_H2 3.8359 mm3",
   "requirement": "0 mm3 unplanned overlap"
  },
  {
   "check": "Front shell inner face -> tallest component (USB-C J1 top)",
   "passed": true,
   "value": "1.74 mm",
   "requirement": ">= 1.0 mm"
  },
  {
   "check": "Front shell inner face -> ESP32-C3 module shield (U1)",
   "passed": true,
   "value": "2.45 mm",
   "requirement": ">= 1.0 mm"
  },
  {
   "check": "Front shell -> any board part (3D minimum distance)",
   "passed": true,
   "value": "0.400 mm",
   "requirement": ">= 0.2 mm"
  },
  {
   "check": "Board edge / surface -> front shell (incl. baffles over the slot)",
   "passed": true,
   "value": "0.400 mm",
   "requirement": ">= 0.2 mm"
  },
  {
   "check": "Board seated on bosses + support pads (contact, no overlap)",
   "passed": true,
   "value": "0.0000 mm gap",
   "requirement": "contact = 0 mm"
  },
  {
   "check": "Keyhole pocket roof -> board underside",
   "passed": true,
   "value": "0.40 mm",
   "requirement": ">= 0.3 mm (THT tails of J1 are inside the board in the model)"
  },
  {
   "check": "USB-C opening centred on the receptacle (X)",
   "passed": true,
   "value": "offset 0.000 mm",
   "requirement": ""
  },
  {
   "check": "USB-C opening centred on the receptacle mouth (Z, from the KiCad 3D model)",
   "passed": true,
   "value": "opening centre Z 8.48 mm = board top + 1.58 mm",
   "requirement": ""
  },
  {
   "check": "USB-C opening margin around the receptacle shell",
   "passed": true,
   "value": "side 1.58 mm, top/bottom 1.12 mm",
   "requirement": "plug overmold fits"
  },
  {
   "check": "USB-C receptacle face set back from the outer surface",
   "passed": true,
   "value": "2.13 mm (plug overmold enters 2.13 mm; opening 12.4 x 6.4 mm accepts overmolds up to 12.0 x 6.0 mm)",
   "requirement": "<= 2.5 mm"
  },
  {
   "check": "USB-C opening stays below the front edge round",
   "passed": true,
   "value": "opening top Z 11.68 mm, round starts Z 12.10 mm",
   "requirement": ">= 0.3 mm material"
  },
  {
   "check": "Key BOOT on SW1: plunger -> switch actuator",
   "passed": true,
   "value": "axial gap 0.20 mm, lateral offset 0.000 mm",
   "requirement": "gap 0.1-0.3 mm, centred"
  },
  {
   "check": "Key BOOT recessed below the front face",
   "passed": true,
   "value": "0.60 mm (hole 2.0 mm, press with a pen tip / paper clip)",
   "requirement": ">= 0.4 mm, no accidental press"
  },
  {
   "check": "Key RESET on SW2: plunger -> switch actuator",
   "passed": true,
   "value": "axial gap 0.20 mm, lateral offset 0.000 mm",
   "requirement": "gap 0.1-0.3 mm, centred"
  },
  {
   "check": "Key RESET recessed below the front face",
   "passed": true,
   "value": "0.60 mm (hole 2.0 mm, press with a pen tip / paper clip)",
   "requirement": ">= 0.4 mm, no accidental press"
  },
  {
   "check": "Light pipe over LED D1",
   "passed": true,
   "value": "gap 0.30 mm, lateral offset 0.000 mm, exit flush with front (Z 13.60 = 13.60)",
   "requirement": ""
  },
  {
   "check": "Status light on the product centre line",
   "passed": true,
   "value": "X = 0.00 mm (product centred on the LED)",
   "requirement": ""
  },
  {
   "check": "M2 screw thread engagement in boss",
   "passed": true,
   "value": "4.4 mm (= 2.2 x d), radial 0.15 mm in 1.7 mm pilot",
   "requirement": ">= 2 x d"
  },
  {
   "check": "Screw heads -> front shell",
   "passed": true,
   "value": "3.60 mm",
   "requirement": ">= 1.0 mm"
  },
  {
   "check": "SHT41 -> ESP32 module (courtyard edge)",
   "passed": true,
   "value": "36.4 mm, and the sensor sits BELOW the module when hung (heat rises away)",
   "requirement": ""
  },
  {
   "check": "SHT41 -> LDO U3 (centres)",
   "passed": true,
   "value": "17.9 mm",
   "requirement": ""
  },
  {
   "check": "SHT41 inside the walled sensor chamber",
   "passed": true,
   "value": "sensor at X -6.2 / Y -24.4; chamber walls at X -0.4, Y -18.0 (on the board isolation slot)",
   "requirement": ""
  },
  {
   "check": "Sensor chamber vents (bottom + left side) vs. leak gap under the baffles",
   "passed": true,
   "value": "40.2 mm2 open to the room vs 8.5 mm2 baffle gap (x4.7)",
   "requirement": "vents >= 3 x leak"
  },
  {
   "check": "Chimney: exhaust area at the top >= main inlet area",
   "passed": true,
   "value": "55.2 mm2 top vs 15.1 mm2 lower right side",
   "requirement": ""
  },
  {
   "check": "Metal near the ESP32 antenna: wall-screw head -> antenna area",
   "passed": true,
   "value": "6.6 mm (screw heads below the module GND area only); screws M2 at Y -6.6 are 30.0 mm away",
   "requirement": ""
  },
  {
   "check": "Antenna end of the board -> shell top wall (plastic only)",
   "passed": true,
   "value": "2.8 mm air + 1.8 mm PC/ABS; no metal and no ribs over the antenna",
   "requirement": ""
  },
  {
   "check": "Snap fingers: deflection while closing",
   "passed": true,
   "value": "0.46 mm undercut, 4 fingers",
   "requirement": ""
  },
  {
   "check": "Snap fingers: bending strain (cantilever 1.5 t y / L^2)",
   "passed": true,
   "value": "1.8 % (t 1.0 mm, L 6.2 mm)",
   "requirement": "<= 2.5 % for PC/ABS, repeated opening"
  },
  {
   "check": "Assembly: board lowers straight onto the rear housing (12 mm travel, 0.5 mm steps)",
   "passed": true,
   "value": "worst overlap 0.0000 mm3 (328 s)",
   "requirement": ""
  },
  {
   "check": "Assembly: keys + light pipe drop into the front shell from inside (8 mm)",
   "passed": true,
   "value": "worst overlap 0.0000 mm3",
   "requirement": ""
  },
  {
   "check": "Assembly: front shell closes straight along the wall normal (14 mm, 0.5 mm steps)",
   "passed": true,
   "value": "no contact except the 4 snap lips (6.18 mm3 of designed lip deflection near closing); (153 s)",
   "requirement": ""
  },
  {
   "check": "Opening: pull the front shell straight off; rear housing stays on the wall screws",
   "passed": true,
   "value": "same path as c), 45 deg release face on every lip, fingernail notch at the top parting line",
   "requirement": ""
  }
 ],
 "interference": [
  {
   "a": "rear_housing",
   "b": "screw_H1",
   "volume_mm3": 3.8359,
   "expected": "M2 thread-forming screw cutting its thread in the 1.7 mm boss hole (designed)"
  },
  {
   "a": "rear_housing",
   "b": "screw_H2",
   "volume_mm3": 3.8359,
   "expected": "M2 thread-forming screw cutting its thread in the 1.7 mm boss hole (designed)"
  }
 ],
 "clearances": {
  "nearest_board_items": {
   "front_shell": [
    {
     "ref": "PCB",
     "gap_mm": 0.4
    },
    {
     "ref": "F1",
     "gap_mm": 0.6
    },
    {
     "ref": "J1",
     "gap_mm": 0.93
    },
    {
     "ref": "C6",
     "gap_mm": 2.3
    },
    {
     "ref": "U1",
     "gap_mm": 2.451
    },
    {
     "ref": "R7",
     "gap_mm": 3.25
    }
   ],
   "rear_housing": [
    {
     "ref": "PCB",
     "gap_mm": 0.0
    },
    {
     "ref": "J1",
     "gap_mm": 1.366
    },
    {
     "ref": "R10",
     "gap_mm": 1.65
    },
    {
     "ref": "SW2",
     "gap_mm": 2.0
    },
    {
     "ref": "SW1",
     "gap_mm": 2.034
    },
    {
     "ref": "C1",
     "gap_mm": 2.05
    }
   ],
   "light_pipe": [
    {
     "ref": "D1",
     "gap_mm": 0.3
    },
    {
     "ref": "PCB",
     "gap_mm": 1.45
    },
    {
     "ref": "R9",
     "gap_mm": 1.967
    },
    {
     "ref": "R5",
     "gap_mm": 3.352
    }
   ],
   "key_boot": [
    {
     "ref": "SW1",
     "gap_mm": 0.2
    },
    {
     "ref": "PCB",
     "gap_mm": 1.7
    },
    {
     "ref": "SW2",
     "gap_mm": 4.197
    }
   ],
   "key_reset": [
    {
     "ref": "SW2",
     "gap_mm": 0.2
    },
    {
     "ref": "PCB",
     "gap_mm": 1.7
    },
    {
     "ref": "U1",
     "gap_mm": 3.615
    },
    {
     "ref": "SW1",
     "gap_mm": 4.197
    },
    {
     "ref": "C5",
     "gap_mm": 4.408
    }
   ],
   "screw_H1": [
    {
     "ref": "PCB",
     "gap_mm": 0.0
    },
    {
     "ref": "SW1",
     "gap_mm": 1.855
    }
   ],
   "screw_H2": [
    {
     "ref": "PCB",
     "gap_mm": 0.0
    }
   ]
  }
 },
 "sweeps": {
  "board_onto_rear_housing": {
   "travel_mm": 12,
   "step_mm": 0.5,
   "worst_overlap_mm3": 0.0,
   "at": null
  },
  "front_shell_closing": {
   "travel_mm": 14,
   "step_mm": 0.5,
   "worst_unplanned_overlap_mm3": 0.0,
   "at": null,
   "snap_lip_contact_mm3": 6.183
  }
 },
 "notes": [],
 "airflow": {
  "slot_area_mm2": 5.02,
  "sensor_inlet_area_mm2": 40.2,
  "main_inlet_area_mm2": 15.1,
  "exhaust_area_mm2": 55.2,
  "baffle_gap_leak_area_mm2": 8.5
 },
 "mass_g": {
  "front_shell": 8.47,
  "rear_housing": 4.82,
  "light_pipe": 0.03,
  "key_boot": 0.03,
  "key_reset": 0.03,
  "total_plastic": 13.4
 },
 "layout": {
  "W": 36.0,
  "H": 65.1,
  "depth": 13.6,
  "z_board_bot": 5.3,
  "z_board_top": 6.9,
  "z_front_in": 11.8,
  "led": [
   0.0,
   7.4
  ],
  "sw": {
   "SW1": [
    -7.4,
    0.2
   ],
   "SW2": [
    -7.4,
    8.2
   ]
  },
  "sensor": [
   -6.2,
   -24.4
  ],
  "holes": [
   {
    "ref": "H1",
    "xy": [
     -7.8,
     -6.6
    ],
    "d": 2.2
   },
   {
    "ref": "H2",
    "xy": [
     11.0,
     -6.6
    ],
    "d": 2.2
   }
  ],
  "usb_cx": 5.6,
  "usb_cz": 8.48,
  "usb_face_y": -29.37,
  "antenna": [
   -5.0,
   23.4,
   8.2,
   28.8
  ]
 },
 "summary": {
  "total": 33,
  "passed": 33,
  "seconds": 652
 }
}