I've been over a few versions of this today, and this is the neatest I've got so far, but I'm not quite there because of a stmbling block, namely calling dividing my Y size in half, in order that I can stack two of the sashes over each other.
Any suggesions or tutorials on how to make this work? End goal is a sliding sash where the X and Y base objects extend to the perimter of the window, with the top sash able to slide down via a parameter, and mullions and transoms adjustable with a parameter.
I realise I can probably just use the same array for top and bottom sashes, as the 'nibs' will just stick into the cill and not be visible, but it's how to call the half heigh of the window. I tried using a shorted Y spline, but it didn't feel good having to guess where the end of it should be.
I see there's a Y spline variable' macro, but can't figure out how to use it to call the Y spline length and put this into an arithmetic node.
I guess I could have two sets of X and Y splines, but this feels messy.