Roof louvers and skylights in grasshopper

Hi, I am a beginner in Rhino and grasshopper, I am trying to do this effect in the first image ( roof louvers and skylights) in my sweep mass (2nd picture). I tried several scripts but couldn’t reach a similar result. I would appreciate it if anyone knows the steps to do it in grasshopper or a youtube video that explains a similar concept. Thanks in advance.