> It would probably help if the rail's curve tangent aligned with the z axis direction a little bit before the end
> of the curve instead of only right at the very end of the curve.
This didn't seem to work out very well. It's probably better to hack off a slice off the top of each piece before trimming them against each other, to avoid this complex zone here:
Hi Andy, here's the result from tuning up all the curve tangents, then remaking the sweeps, then slicing off the top and trimming surfaces against each other and then patching in the top part separately. Is this going to work for what you need? :