I cobbled together a copy of the model I referred to above that gets very close to what I think you want? It yields rectangles (“regions”) not lines but the lines (inside each rectangle) can be derived…
lineas_2020Nov4a.gh (28.3 KB)
I have no idea about your “4cm” separation spec, I used an arbitrary value, 0.099, slider in white group.