Waffle structure not aligned


I have just started using grasshopper so things are all new to me.

I have an issue with my waffle structure. on one end and in the middle of the model the polygons are inverted. i have tried different things to make it all cohesive with no luck. i am trying to achieve all the polygons on the y axis to be on the outside of <a

x axis. so i can then notch out the panel pieces to prepare for CNC routing.

I also need to change the direction of the top and bottom components so they are not lying flat but are connected with the edge of the timber facing out.

thanks in advance. any help appreciated.
dlt trial mobuis 04.gh (23.1 KB)

You didn’t internalise your referenced rail curve in your curve param.
Please read this first especially No. 3.