Automatic repeating pattern

Upprepande Rutor.pdf (510.2 KB)

See attached pdf

On the left i drew two rectangles of 800mm width with 3 mm spacing. Total 1603mm
Can i somehow make this repeat itself and auto adjust the widths to not exceed 900mm

For example:
If i want to set a total width of 2646mm i want the rectangles to fill the total length and auto adjust the width to a max of 900 mm

You could do this with a fairly simple Dynamic Component.

Nope, cant make this work. Anyone?

Rectangles.pdf (457.0 KB)

spaced array.skp (17.6 KB)

This is a one-dimensional array of a glue to any surface panel.

Key is using ceiling formula on the overall divided by max panel width plus gap

Thank you very much :slight_smile: