You need: the piece; one medium straight (144mm), which lies beside it in every top photo; a sheet of white, blue or pink millimetre paper (shop-bought graph paper is fine; cream or yellow paper is as warm a colour as the wood, so the pieces can't be told from it); and a phone, used with its own camera app. For the first session only, also a long straight (216mm).
Your photos never go on GitHub
You send the photos to your own Claude chat, which measures them and writes the issue. The issue carries the sizes and the drawing, never a photo: anything attached to a GitHub issue is public, and GitHub keeps it online even after the issue is deleted.
Turn off location for the camera before you shoot (how). Your Claude removes it from its copies anyway.
Only the pieces and the paper in the frame: no people, faces, house numbers, letters or screens.
Why the paper and the camera's focal length: the tops of the pieces sit 12mm nearer the lens than the paper, so the paper's own lines would read them a few percent long. The grid and the focal length the phone records tell how high the camera was, which corrects that. The medium straight is then measured too, as a check: it must read within 1mm of 144mm.
1 · Lay out the reference
Lay the paper flat on a table or a hard floor. Tape the corners if it curls.
Put the medium straight and the piece on it side by side, top face up, about 2cm apart, both fully on the grid.
Nothing under either piece. Both lie flat on the paper.
2 · Photograph from the top
Hold the phone flat, lens pointing straight down, over the middle of the two pieces, 30–40cm up.
Both pieces and a ring of grid around them in the picture. Use the phone's own camera app at its normal lens (1x): never wide-angle (0.5x), never portrait mode, never zoomed or cropped afterwards.
Each piece crosses the middle of the picture: one end in the top half, the other in the bottom half. A piece lying wholly in one half shows the end face of its end nearer the middle, and reads long.
No shadow across an end. Hold still; a sharp photo matters more than a big one.
3 · A side photo
Always one, for the shape seen from the side: a ramp's slope, a bridge's arches, a station's roof.
No paper and no ruler needed: the side view is traced off it and scaled by the piece's own length. A tight height where a train passes under something is read with a ruler, and you'll get a drawing of exactly where to measure.
Stand the piece on a table or the floor. Hold the phone upright and level with the piece, about 30–40cm away, facing the side (or the end) square on, with the whole piece in the picture.
4 · Move the piece and repeat
Lift both pieces and put them back somewhere else on the paper, still lying flat with the top face up. Turn them end for end if you like; never stand them on their sides.
Write down what is printed or moulded on the underside: versions of the same piece can differ. A photo of the underside only if someone asks for it.
Take the top photo again. Two photos must give the same sizes within 0.5mm; if they do not, take a third.
Send the photos to your Claude chat as the camera took them, upright, uncropped. They stay there (see the box at the top), or on your machine in the repo's photos/ folder, which is never uploaded.
5 · The first time: check with the long straight
Before any real piece is measured, photograph the long straight as if it were the piece, twice, steps 1, 2 and 4. It must read 216 ± 1mm. Until it does, no size from a photo goes into the library.
What a rejected photo looks like
The grid points disagree: the paper was not flat, two sheets showed, or a point was misread. Use one sheet; flatten or tape it.
The reference reads far off on the paper: it was not lying flat and top face up, or it is not a medium straight.
Curved grid lines: a wide-angle or portrait mode was on. Use the normal 1x lens.
A blurred or shadowed end: its point cannot be read. Retake it.
Two photos more than 0.5mm apart: take a third; the figure lands only when two agree.