skills/lab-hardware-cad/references/behavior-rigs.md
Arenas, mazes, head-fixation hardware, spouts and ports, and the extrusion frames that carry them.
Behavioral apparatus dimensions are not standardised. They are set by the published protocol the experiment replicates, and they differ between species, strains, ages, and labs. An elevated plus maze sized for rats is wrong for mice; an open field sized from one paper will not reproduce another paper's results.
Ask which protocol or paper the rig replicates, and take the dimensions from it. If the user does not have one, say plainly that the geometry is a design choice affecting comparability, and get their sign-off on the numbers before modelling. Do not supply "standard" maze dimensions from memory — there is no such standard, and a plausible-looking wrong number is worse here than an admitted gap, because it silently breaks comparison with prior work.
What this file does cover is the engineering that is common across rigs.
Any apparatus that contacts animals falls under the institution's approved protocol. Before fabrication:
Raise these actively rather than waiting to be asked.
This dominates material choice, and it eliminates most of the obvious options:
references/fabrication-limits.md.Most rigs are recorded, and the geometry either helps or fights the tracking:
Most rigs are built on aluminium extrusion. The critical fact: slot width is not implied by profile size.
| Profile | Common slot widths | Typical fastener |
|---|---|---|
| 20 x 20 mm | 5 mm or 6 mm depending on series | M4 or M5 T-nut |
| 30 x 30 mm | 8 mm typical | M6 T-nut |
| 40 x 40 mm | 8 mm or 10 mm depending on series | M6 or M8 T-nut |
A 20 mm profile from one supplier takes a 6 mm slot nut; from another, 5 mm. Measure the slot, or get the part number. A bracket modelled for the wrong slot is scrap.
Design notes:
The highest-consequence geometry in this file, and entirely lab-specific.
references/microfluidics.md.python scripts/gen.py arena_model.py --outdir out/
python scripts/check.py facts out/arena.step
python scripts/check.py clearance out/arena.step out/camera_mount.step --min 1.0
python scripts/snapshot.py out/arena.step --out out/arena.png
Confirm in the snapshot:
Deliberately none for dimensions. Arena, maze, and head-fixation geometry must come from the protocol being replicated or from the physical implant, not from a general reference. The material, cleaning, tracking, and extrusion guidance above is general engineering practice.