Hatch or fill every other gap

Hi everyone, I was wondering if there was a function in rhino where you can fill every other gap like the picture below I made manually. Right now I just run the hatch function and click with boundary mode in every region I want to fill. However I have quite a lot of them and they are all different heights. Does anyone know how I could do this more efficiently?

Grasshopper is very useful to automate repetitive tasks and when working with a logic driven selection of parts.