Model.array_parts

Model.array_parts(parts, n, transformation)[source]

Create an array of parts by applying a transformation multiple times.

Parameters:
partslist[:class=`compas_fea2.model.Part`]

The list of parts to array.

nint

The number of copies to create.

transformation:class=`compas.geometry.Transformation`

The transformation to apply for each copy.

Returns:
list[:class=`compas_fea2.model.Part`]

The list of new, arrayed parts.