Help for curtain wall script

I am stuck. I am trying to generate this facade but I don’t know how to properly connect the steps. I basically want to add a diagonal mullion to each subdivided panel shift it every other row and then flip it on every panel. I know this may sound confusing, but I drew what I am talking about and I also attached the rhino file. I am using Lunchbox to get the Please help.

I’m afraid it didn’t work well, I see no files/images attached to your post