Create a row of barrels
 
 
 

Here, we’ll use the stored value of the diameter to space the duplicates of the barrel. Variable values can be recalled at any time. Variables can be used as values for arguments.

To duplicate the barrels

  1. Select the barrel.
  2. Duplicate the barrel by typing the following:
    duplicate;

    You have a duplicate of the first barrel, and it is the currently selected object.

  3. Align the duplicate barrel with the original by moving the duplicate in Z by a value equal to its diameter by typing the following:
    move -r 0 0 $diameter_barrel;

    A duplicate of the original barrel is created and aligned to the first barrel.

  4. Make another copy of the barrel by typing the following:
    duplicate;
    move -r 0 0 $diameter_barrel;

    The current selection switches to the newly created geometry.

  5. Duplicate the currently selected barrel and align the duplicate with the previously created barrel.
    duplicate;
    move -r 0 0 $diameter_barrel;

    When duplicating objects, the selection always switches to the duplicate. Each barrel is spaced the same relative to its neighbors.

The first row of barrels is complete.