Gradient grasshopper pattern for knit

can anyone help me how to start creating this vertical gradient knit pattern as a 2D drawing in rhino?

Rows and columns in between the holes need to stay at a constant 5mm and then the holes decrease or increase in height as they go to the extent

Assigned to Grasshopper category