Dynamo for Rebar: Creating Rebar from non-planar cuves (Helical Staircase)

I’m trying to create rebars for a helical stair and the rebars shown in the picture are non-planar so I can’t get its normal.

What might be a workaround for this and are the normal vectors for?