From the comfort of my arm chair, here's how I would.
Chuck a piece of hex brass bar with the required a/f size. Machine the two diameters to suit taste, centre drill, then drill thru to diameter of pipe cone o/d. Bore out to minor diameter of 3/8 x 40 thread, then tap with appropriate tap to required depth. Part off at required length.
You could use a D bit to form the minir diameter to give a flat bottom inside the nut.
Does this help?
Edited By John Rudd on 07/02/2019 11:18:46