I thought I would pass along some photos of the way I make railings for my ship models. It's really a very slight variation from the other suggested methods out there, not much difference except for my use of acrylic paint as the binder of the threads. I imagine this would work using CA glue if you could apply it without filling the voids in the rail with glue. That is one reason why I use acrylics, because if you find the paint has filled the void a dab of water and cautious dabbing will quickly remove the paint. Here is the jig I use, made up from popsicle or craft sticks. I had used foam board in the MkI version, but I found the board would crinkle and buckle under presure after a bit of use. No problems with the stick version yet, but I found it's pretty important to make sure the two adjacent surfaces are even with each other to ensure the point where the threads cross doesn't have a gap.