A helper object for replicating 3D objects with controlled randomness.
replicator | A helper object for replicating 3D objects with controlled randomness. |
Preference Dialog | None. |
Comments | The replicator works by replicating an orginal object and place them in a 3 dimensional grids with given cell number in each dimension. |
Properties | |
origin | object, ( r, w ) |
dim | object, ( r, w ) |
mul | object, ( r, w ) |
rpos | object, ( r, w ) |
rori | object, ( r, w ) |
rscl | object, ( r, w ) |
mergeGeometry | bool, ( w ) |
Functions | |
run | |
stop | |
access |
The replicator works by replicating an orginal object and place them in a 3 dimensional grids with given cell number in each dimension. Each cell has a fixed size that a user specifies. Amount of randomness can be introduced to the position in the cell, the orientation, or the scale of each replicated object.
access(x_index, y_index, z_index); access(index);
Returns the replicated object at the given index.
x_index | (int) index of x-dimension. |
y_index | (int) index of y-dimension. |
z_index | (int) index of z-dimension. |
index | (int) index to a sequential array of all replicated objects. |
(object) a replicant.