{
 "digest": null,
 "links": {
  "fits": [
   {
    "product": "ada-4557-din-bracket",
    "name": "DIN Rail Mount Bracket (Pi/Metro/UNO/Mega/BeagleBone)",
    "kind": ""
   },
   {
    "product": "ada-5657-camera-module-3",
    "name": "Raspberry Pi Camera Module 3 (standard)",
    "kind": ""
   }
  ],
  "members": [],
  "cases": [],
  "assemblies": []
 },
 "prints": [],
 "part": {
  "id": "raspberry-pi-camera-module-3-case-wall-mount-and-din-rail-bo",
  "name": "Raspberry Pi Camera Module 3 case - wall-mount and DIN-rail bodies",
  "kind": "case",
  "method": "",
  "vendor": "sargbench2",
  "sku": "",
  "model": "",
  "buy": [],
  "url": "",
  "category": "enclosure",
  "owned_qty": 0
 },
 "facts": {
  "id": "rpi-camera-module-3-case-mounts",
  "kind": "made",
  "name": "Raspberry Pi Camera Module 3 case - wall-mount and DIN-rail bodies",
  "category": "enclosure",
  "status": "designed",
  "for_parts": [
   "ada-5657-camera-module-3",
   "ada-4557-din-bracket"
  ],
  "derived_from": "raspberry-pi-camera-module-3-tripod-case-body-lid",
  "frame": "module frame: origin PCB plan bottom-left, +X toward the FPC edge, Z=0 PCB back face, lens +Z",
  "body": {
   "size_mm": [
    28.9,
    62,
    14.35
   ],
   "outline": "rect",
   "notes": "two alternative BODIES for the published case (lid and board retention unchanged, the tripod boss removed): body_wall - ears 24 long x 16 out x 7.5 thick on the +/-Y walls centred at x 11.93, standing 0.5 below the floor (the back screw heads sit 0.2 proud of their counterbores); keyholes at (7.93,-10.5) and (7.93,35.5), slot 8 toward +X; body_din - plate 68 x 59 x 3 under the floor (Z -8.7..-5.7), Pi 58 x 49 pattern: holes dia 2.8 at (-17.07,-12) (-17.07,37) (40.93,-12) (40.93,37); plus dia 4.6 driver holes over the four back screws at (2,2) (2,23) (14.5,2) (14.5,23)"
  },
  "mounting": {
   "holes": [
    {
     "type": "keyhole",
     "variant": "wall",
     "entry_dia": 8.5,
     "slot_w": 4.5,
     "slot_l": 8.0,
     "head_pocket": "dia 9.5 x 3.0",
     "notes": "#6/#8 wood screw or M3.5-M4 pan head; hang with the flex edge (+X) up"
    },
    {
     "type": "clearance",
     "variant": "din",
     "dia": 2.8,
     "pattern": "Raspberry Pi 58 x 49 (M2.5)",
     "notes": "bolts to the Adafruit 4557 DIN Rail Mount Bracket plate (or any Pi-pattern DIN adapter) with the kit's M2.5 standoffs; heads on the plate's front face outside the walls"
    }
   ],
   "pattern": "lid screws as the base case: use the published lid + 4 x M2 x 10 from the back (fit the camera + lid BEFORE bolting the plate to the bracket, or reach the heads through the dia 4.6 holes)"
  },
  "interfaces": {
   "base_case": "identical cavity, retention and openings (flex slot (+X wall), back screw counterbores, lens window (lid)) - verify_mounts.py proves nothing was removed from the original body and nothing added into the board, lid or opening volumes",
   "keyhole": "mounting face = ear bottom; head passes the dia 8.5 entry, case slides 8 mm so the shank sits in the 4.5 slot with the head in the dia 9.5 x 3 pocket (1.5 ceiling)",
   "din": "plate is 3 thick below the floor; the case stands off the bracket plate on the kit standoffs"
  },
  "print": {
   "orientation": "floor/plate down; keyhole pockets bridge 9.5 mm - fine at 0.2 layers; no supports",
   "profile": "0.4 nozzle / 0.2 layer, PLA or PETG, >= 3 perimeters",
   "hardware": "wall: 2 screws #6/#8 or M3.5-M4; DIN: 4 x M2.5 + standoffs from the 4557 kit; lid: as the base case"
  },
  "cad": {
   "file": "cm3_case_body_wall.step",
   "files": [
    "cm3_case_body_wall.step",
    "cm3_case_body_din.step",
    "cm3_case_wall_assembly.step",
    "cm3_case_din_assembly.step"
   ],
   "source": "cm3_case_mounts.py",
   "fidelity": "exact",
   "verified": false
  },
  "sources": [
   {
    "facts": "case geometry (cavity, openings, retention)",
    "ref": "sargineer /m/sargbench2/raspberry-pi-camera-module-3-tripod-case-body-lid sources (cm3_case_common.py), downloaded 2026-08-21 and extended",
    "date": "2026-08-21"
   },
   {
    "facts": "Pi 58 x 49 M2.5 pattern supported by the 4557 plate",
    "ref": "sargineer /p/ada-4557-din-bracket",
    "date": "2026-08-21"
   },
   {
    "facts": "keyhole sizes for #6/#8 heads (dia <= 8, <= 2.8 tall)",
    "ref": "mountkit.py (design choice)",
    "date": "2026-08-21"
   }
  ],
  "confidence": "Geometry exact in source; verify_mounts.py: nothing removed from the published body, zero interference with the board, the published lid and every opening probe of the base case; keyhole head/shank probes and DIN head/rod probes pass; both bodies validate. Fit caveats are those of the base case (see its part.yaml). Not printed."
 },
 "models": [
  {
   "handle": "sargbench2",
   "fidelity": "exact",
   "verified": false,
   "visibility": "public",
   "url": "/m/sargbench2/raspberry-pi-camera-module-3-case-wall-mount-and-din-rail-bo",
   "files": [
    "CM3_CASE_MOUNTS.md",
    "base_part.yaml",
    "cm3_board_ref.py",
    "cm3_case_body_din.step",
    "cm3_case_body_din.step.py",
    "cm3_case_body_din.stl",
    "cm3_case_body_wall.step",
    "cm3_case_body_wall.step.py",
    "cm3_case_body_wall.stl",
    "cm3_case_common.py",
    "cm3_case_din_assembly.step",
    "cm3_case_din_assembly.step.py",
    "cm3_case_mounts.py",
    "cm3_case_wall_assembly.step",
    "cm3_case_wall_assembly.step.py",
    "mountkit.py",
    "part.yaml",
    "pcbkit.py",
    "sheet.png",
    "verify_mounts.py"
   ]
  }
 ],
 "related": {
  "notes": {
   "exact": [],
   "chip": [],
   "addr": []
  },
  "parts": {
   "variants": [],
   "interface": [],
   "mounting": [
    {
     "product": "raspberry-pi-camera-module-3-tripod-case-body-lid",
     "name": "Raspberry Pi Camera Module 3 tripod case (body + lid)",
     "why": "pattern 2x10 mm",
     "url": "/p/raspberry-pi-camera-module-3-tripod-case-body-lid"
    }
   ],
   "cooccur": [],
   "owners": [],
   "addr": []
  }
 }
}