{
 "digest": null,
 "links": {
  "fits": [
   {
    "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-tripod-case-body-lid",
  "name": "Raspberry Pi Camera Module 3 tripod case (body + lid)",
  "kind": "case",
  "method": "",
  "vendor": "sargbench2",
  "sku": "",
  "model": "",
  "buy": [],
  "url": "",
  "category": "enclosure",
  "owned_qty": 0
 },
 "facts": {
  "id": "rpi-camera-module-3-case",
  "kind": "made",
  "name": "Raspberry Pi Camera Module 3 tripod case (body + lid)",
  "aka": [
   "camera module 3 case",
   "rpi cm3 enclosure",
   "imx708 case"
  ],
  "category": "enclosure",
  "status": "designed",
  "for_parts": [
   "ada-5657-camera-module-3"
  ],
  "frame": "module frame: origin PCB plan bottom-left, +X toward the FPC-connector edge, +Y along the 25 mm edge, Z=0 PCB back face, lens +Z (connector + components hang below Z 0)",
  "body": {
   "size_mm": [
    28.86,
    30.0,
    15.85
   ],
   "outline": "rect",
   "corner_r": 3.0,
   "notes": "walls 2.0, floor 2.5, lid 2.0; pocket x -0.5..24.36, y -0.5..25.5 (PCB 23.86 x 25 + 0.5/side); inner floor Z -3.2 (FPC connector bottom -2.6 + 0.6), wall top / lid underside Z 8.15 (lens top 7.65 + 0.5), lid top 10.15, floor bottom -5.7"
  },
  "mounting": {
   "holes": [
    {
     "xy": [
      11.93,
      -2.5
     ],
     "dia": 8.0,
     "axis": "y",
     "notes": "1/4\"-20 heat-set insert (ruthex RX-1/4-20) in a dia 13 x 12.5 boss on the -Y wall, Z centre 1.23; camera then looks sideways"
    }
   ],
   "pattern": "4 x M2 x 10 (or 12) from the BACK through the module's own dia 2.2 holes at (2,2), (2,23), (14.5,2), (14.5,23): 4.2 x 1.5 counterbore in the floor, 2.3 through, dia 4 standoff (Z -3.2..0), PCB, dia 4 lid post with 1.7 x 7 pilot"
  },
  "interfaces": {
   "module_retention": "the four screws do everything: they locate the PCB (M2 in 2.2 holes), clamp it between the standoff tops (Z 0) and the lid posts (bottom Z 0.85, 0.15 over the PCB top), and hold the lid on. No other board contact.",
   "window": "dia 11 round at (14.4, 12.5) over the IMX708 lens (housing 8.5 sq, barrel dia 9.5, top Z 7.65), 1 mm top chamfer; lid underside 0.5 above the lens",
   "flex": "18 w x 3 h slot in the +X wall, y 3.5..21.5, Z -3.2..-0.2 - the 15-pin 1 mm FPC leaves the connector (on the back, x 16.95..23.49) through the X=23.86 edge parallel to the PCB",
   "lid": "1.2 thick x 1.5 tall lip, 0.2/side gap"
  },
  "print": {
   "orientation": "body floor-down (side tripod boss wants support or a 45-degree chamfer; counterbores face the bed -> bridge the 2.3 hole or let the slicer do it); lid top-down (7.3 mm posts)",
   "profile": "0.4 nozzle / 0.2 layer, PLA or PETG, >= 3 perimeters",
   "hardware": "4 x M2 x 10 (or 12) pan head; 1 x 1/4\"-20 heat-set insert (optional)"
  },
  "cad": {
   "file": "cm3_case_body.step",
   "files": [
    "cm3_case_body.step",
    "cm3_case_lid.step",
    "cm3_case_assembly.step",
    "rpi_camera_module_3_board.step"
   ],
   "source": "cm3_case_common.py",
   "fidelity": "exact",
   "verified": false
  },
  "sources": [
   {
    "facts": "all module geometry: PCB 23.86 x 25 x 0.7 r2, holes dia 2.2 at (2,2)/(2,23)/(14.5,2)/(14.5,23), lens axis (14.4, 12.5) top Z 7.65, lens holder boxes, FPC connector 16.95..23.49 x 1.04..23.96 x 2.6 tall on the BACK, back-side components to 1.75 tall",
    "ref": "datasheets.raspberrypi.com/camera/camera-module-3-step.zip Camera_module_3_std_model_simple.stp, mirrored about XY (lens up); see cm3_board_ref.py",
    "date": "2026-08-21"
   },
   {
    "facts": "case geometry",
    "ref": "cm3_case_common.py + CM3_CASE.md + verify.py",
    "date": "2026-08-21"
   }
  ],
  "confidence": "High for geometry: checked against the official RPi STEP itself (590 solids), not only the envelope - zero interference at nominal and at +/-0.2 X/Y, screw rods clear floor/standoff/hole/post, flex strip passes the slot, lens column clear of the lid (verify.py). Standard (non-wide) module only: the wide variant has a different lens tower (check its STEP before reusing). Not printed yet: check the 0.15 post gap vs PCB thickness and the counterbore bridging. NOTE the sargineer part page facts \"FPC exits the Y=0 edge\" and \"max_height_bottom 0\" contradict the official model (connector on the back at the +X edge)."
 },
 "models": [
  {
   "handle": "sargbench2",
   "fidelity": "exact",
   "verified": false,
   "visibility": "public",
   "url": "/m/sargbench2/raspberry-pi-camera-module-3-tripod-case-body-lid",
   "files": [
    "CM3_CASE.md",
    "cm3_board_ref.py",
    "cm3_case_assembly.step",
    "cm3_case_assembly.step.py",
    "cm3_case_body.step",
    "cm3_case_body.step.py",
    "cm3_case_body.stl",
    "cm3_case_common.py",
    "cm3_case_lid.step",
    "cm3_case_lid.step.py",
    "cm3_case_lid.stl",
    "part.yaml",
    "pcbkit.py",
    "rpi_camera_module_3_board.step",
    "rpi_camera_module_3_board.step.py",
    "sheet.png",
    "verify.py"
   ]
  }
 ],
 "related": {
  "notes": {
   "exact": [],
   "chip": [],
   "addr": []
  },
  "parts": {
   "variants": [],
   "interface": [],
   "mounting": [
    {
     "product": "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",
     "why": "pattern 2x10 mm",
     "url": "/p/raspberry-pi-camera-module-3-case-wall-mount-and-din-rail-bo"
    }
   ],
   "cooccur": [],
   "owners": [],
   "addr": []
  }
 }
}