duplicate_along_line#

BowTieRounded.duplicate_along_line(vector, num_clones=2)#

Duplicate the object along a line.

Parameters:
vectorlist

List of [x1 ,y1, z1] coordinates for the vector.

num_clonesint, optional

Number of clones. The default is 2.

Returns:
dict

Dictionary with the list of new objects.

Examples

>>> from ansys.aedt.core import Hfss
>>> from ansys.aedt.toolkits.antenna.backend.antenna_models.horn import Conical
>>> hfss = Hfss()
>>> horn = hfss.add_from_toolkit(Conical, draw=True)
>>> new_horn = horn.duplicate_along_line([10, 0, 0], 2)