I’ve tried to put something together, not too sure about it though, it only allows me to control the window size but not the distance (I could control the number/count of segments). Find the GH file attached
Could someone please take a look on the script I’ve put together and advice on how to control the distance between the windows rather than number of segments?
and if there is a simpler way of putting this together, please let me know.
OUCH!!! Opening your model freezes up my computer. Grafting the ‘C’ input to ArrRec results in 3600 rectangles(!) which chokes SDiff. Warning to anyone who wants to open that file: disable GH solver first and then disable SDiff before doing anything else. Standby for a fix…
Just to expand a little on what the easter bunny has already delivered, you can only define the window size, as well as the window spacing, if you are willing to adapt your overall roof size to the resulting window layout.
If not, you have to make a choice, depending on what is more favourable for your project: either fixed window sizes, or fixed distances between the windows.
@Joseph_Oster Yes, I’ve picked that up, the unequal distance from the edges was one of the things I wasn’t sure how to fix, thanks!! I’m developing this to be used in a daylight study to optimise roof lights
One thing not sure I fully understand in the script is this, what do these two components do?