There are many different methods for quartering drive wheels on a model locomotive. I chose to put the keyway slot in the same place on each wheel and quarter the axles.
I milled the keyway in the first end, holding the axle in a vise.
Putting the slot in the opposite end of the axle requires a fixture to set the angle between the two slots at 90 degrees and ensure all the axles are exactly the same.
The angle plate I made had a broached hole opposite the center, holding the front of the axle. A key inserted in the first axle slot ensured repeatability on all of the axles.