Hi Dusan,
To keep the style simple, you could use multiple generators and adjust the corresponding base splines to effectively “stack” them. Please find attached a sample scene that uses X & Y Evenly Inputs. In this example, the segment used for the X Evenly Input has adjusted Padding to create the gap and X Corner inputs are handled using a Conditional Operator that checks the Y Counter. I hope this helps.
Best regards,