duplicate_around_axis

Modeler3D.duplicate_around_axis(objid, cs_axis, angle=90, nclones=2, create_new_objects=True, is_3d_comp=False)

Duplicate a selection around an axis.

Parameters
objidstr, int, or Object3d

Name or ID of the object.

cs_axis

Coordinate system axis or the Application.CoordinateSystemAxis object.

anglefloat, optional

Angle rotation in degees. The default is 90.

nclonesint, optional

Number of clones. The default is 2.

create_new_objects

Whether to create the copies as new objects. The default is True.

is_3d_compbool, optional

If True, the method will try to return the duplicated list of 3dcomponents. The default is False.

Returns
tuple

References

>>> oEditor.DuplicateAroundAxis