2010

Table Of Contents
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.
Stacking the row of barrels
Stack the barrels in a triangular arrangement by duplicating the existing row
and offsetting the row in both X and Y.
678 | Chapter 13 Scripting in Maya