Model.copy_part

Model.copy_part(part, transformation)[source]

Copy a part and apply a transformation.

Parameters:
part:class=`compas_fea2.model._Part`

The part to copy.

transformation:class=`compas.geometry.Transformation`

The transformation to apply to the copied part.

Returns:
:class=`compas_fea2.model._Part`

The new, copied part.