Multi profile sweep

 From:  Phiro
9706.8 
You can also sweep on your rail only the part where your curves don't have a common axe and then add a plan with edges to close the surface.