Gosh the team’s been busy whilst I slept! All noted, thanks, though I won’t address each individually.
Very impressed with Phil’s work, though not quite what I was after:

Duncan asked if this was Enigma. Thought it was the answer at one stage, but, apart from one variant Enigmas don’t have a gear train. Instead each rotor has a drive pawl, all pushing in parallel, except pawls 2 and 3 can’t engage with their ratchet until a notch comes into alignment and lets the pawl drop in:

The original pawl and ratchet aren’t hard to machine, but I didn’t know that at the time. A relief, because the odometer images I found all seem to have an awkward bevelled ratchet of the form I’m asking about.
Jason, Tony, and others suggest compromise solutions, which I’m open to! But I feel they dodge the issue by making thin teeth on an outer diameter, which hides the problem. As drawn by me, with wide flat teeth, the ratchet has triple curved surfaces – only one face is flat, and the rest are all twisted curves.
John Haines has me thinking. Fit the pawl to whatever can be cut! But I don’t know what that is! Actually the pawl isn’t the problem – a ratchet isn’t a precision power-transfer mechanism, so the pawl can be quite crude. As drawn by me the pawl is a 45° hook, and the ratchet gear is a projection of it. In the example, I didn’t bother to project the hook to fit exactly, but could do as ‘proper job’. CAD makes it look easy.
Nigel thinks this isn’t an example of 3D CAD creating an impossible to make object, because the same “mistake” can be done in 2D . I suggest he’s “not wrong”. Solid Edge generates the geometry mathematically, hiding the complexity behind a few buttons pressed naively by me. In sharp contrast I have a book describing how 2D draughtsmen should taclke drawing curved objects, and it’s not for the faint hearted. The need for mathematically correct curves aren’t necessarily a “mistake” either – aerofoils, cams, and some gears call for them, even if they do challenge the tool-room! That said, if Nigel or anyone else can draw this in 2D, please bring it on!
Michael is correct about scrubbing too, but I don’t think it matters in my application. Would mess up a clock though…
I looked to Meccano for inspiration, their Part 148 being easy to make with a form cutter (such as Jason’s Thornton):

Meccano’s contrate opens another possibility, I think this one is made by cutting a conventional spur wheel edge on, and then pressing the disc in a die to bend the teeth through 90°:

In answer to Jason’s query about dimensions. To fit my enigma the ratchet wheel needs 26 teeth on a diameter anywhere between about 25mm and 80mm. Small would be easier to match to the drive mechanism, but there’s much choice. How deep the teeth need to go sideways into the wheel depends. Far enough to accommodate the pawl, so a small proportion of a large diameter wheel, but proportionally much more into a small diameter wheel.
Many thanks!
Dave