I am trying to create a patterned railing for a curved staircase, like this:
Except that in my case, the staircase does not have a constant curve. This is a straight segment of the railing I am using:
What is the best way to do this? I have tried deforming the railing along a curve. I can get this to work for a horizontal path, but when I add a vertical element, the uprights of the banister do not remain vertical. By the first curve, the railing is no longer perpendicular to the floor and by the bottom of the staircase the railing is lying horizontally or even under the floor.
I have tried using an array modifier with an empty, but the size of one segment is too large to follow the curvature of the stairs accurately and organically. I don't want to make the pattern smaller in this situation.
I have tried using a lattice, but the results are lumpy and it is hard to maintain a constant thickness. Additionally, since not all the parts of the railing are attached to one another, parts of the metalwork begin to protrude through the handrail when steep angles are needed, along with other unwanted deformations.
Thanks for your help.