This Geometry Nodes setup generates a three-dimensional cuboid array from input meshes. It provides controls for the number of instances along the X, Y, and Z axes while automatically calculating the necessary spacing between objects regardless of the input geometry.
Users can define manual offset spacing for each axis individually or use the X dimensions of the geometry to drive overall spacing. The node tree automatically detects and switches to custom external geometry inputs when provided. The project file also includes an example animation setup utilizing Blender's driver system.