In theory it is very simple: You make one hair - just long and thin rectangular cuboid. Then you make a pattern (linear, circular, on a curve) and then also a pattern in 3rd dimension (linear, on a curve). Then you just have to cut out hair on the parts where you don't want hair.
In reality it can get a bit complicated. Generating a lot of hair can take a while and basically all operations with hair can take a while to complete. You can also run into different bugs, errors and crashes.
I made this model in Solidworks, You could make it also in Fusion360 or any other CAD program.