Nice work, Red! I always thought that frets were machined to different lengths, then set in place. (I learn something new every day).
Fret wire comes in spools or long lengths that luthiers press into neck grooves, then nibble the ends and file to the ideal height and shape: