pointing_to_axis#

static CoordinateSystem.pointing_to_axis(x_pointing: list | tuple, y_pointing: list | tuple) tuple#

Retrieve the axes from the HFSS X axis and Y pointing axis as per the definition of the AEDT interface coordinate system.

Parameters:
x_pointingList or tuple

(x, y, z) coordinates for the X axis.

y_pointingList or tuple

(x, y, z) coordinates for the Y pointing axis.

Returns:
tuple

(Xx, Xy, Xz), (Yx, Yy, Yz), (Zx, Zy, Zz) of the three axes (normalized).

Examples

>>> from ansys.aedt.core.modeler.cad.modeler import CoordinateSystem
>>> obj = CoordinateSystem()
>>> obj.pointing_to_axis(x_pointing=[1, 0, 0], y_pointing=[0, 1, 0])