# How to place cubes around in a square shape

As it can be seen in the image, I am trying to place all these cubes in such a way that forms a square shape. I don't know how do I place these cubes by evenly spacing out the distance between each cubes. Can somebody please tell me and give me step by step instructions please?

You may use Dupliverts to achieve it.

In Edit Mode add a plane and subdivide it, then delete the faces. In Object Mode add a cube and scale it as you like.

In Object Mode parent the cube to the plane (Ctrl+P-->Object).

Select the plane and go to the Object header-->Duplication panel and push the Verts button.

Finally with the plane selected press Shift+Ctrl+A to make the duplicates real meshes.

• I should add that if you want to change the number of splits, you should first delete the edge, connect them with F key and re-devide them with W-S. The number of cuts can be changed in the tool shelf. Nov 20 '17 at 15:46
• @Allosteric why deleting the edge? Dissolving vertex or vertices should be enough from X > Dissolve Vertices Nov 20 '17 at 16:04
• I must agree that's a better way. Nov 20 '17 at 16:26
• Thank you very much this helps me :) But like how would I delete the middle cube then? Nov 21 '17 at 2:45
• @JoeSmith After making the duplicates real (Shift+Ctrl+A) you can easily delete the middle cube. Nov 21 '17 at 19:37

I would:

• Delete all cubes except one;
• Place one cube in a corner;
• Add an Array Modifier to it, set to the correct spacing and cube count;
• Press Alt+D to create a duplicate, put it into the next corner, and use R, Z, 90, Enter to rotate it 90 degrees;
• Repeat for two more cubes.

If you want you can select all cubes, press Shift+S to open the "Snap" menu, and choose "Selection to Grid". That'll put the cubes at the closest grid intersection point.