Modeling help

Hello, im wondering how can i model this types of facade in grasshopper i know it can be modeled easily in rhino but i was wondering if there some way to achieve it in grasshopper as i will be applying it in different types of plan modules so i want a fliexable code to avhieve for different curves (plan outline) maybe any ideas where can i start ?
images.jpeg-9