ChooChooCADwooden railway layouts

Measuring a piece from photos

Missing a piece? Have your Claude draw it for the library: give your Claude the contributor brief, and take the photos this guide describes.

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.

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

reference: medium straight, 144mm the piece to measure about 2cm ○ the points read: the centre of each end face, where the plank ends (not the tip of the peg). Not to scale.

2 · Photograph from the top

30–40cm 12mm lens square to the paper, normal 1x lens Side view. Not to scale.

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.

4 · Move the piece and repeat

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