4x1 through 4x6 base grids.
The most important thing is to make sure your magnets have the same orientation throughout the whole system.
More about the FreeGrid system and FreeCAD tools to build your own modules is available on https://in3d.ca/freegrid-an-open-grid-based-3d-printed-storage-system/.
The author marked this model as their own original creation.