Transform3D#
- class ansys.edb.core.utility.transform3d.Transform3D(msg)#
 Represents a 3D transformation.
- Parameters:
 - anchorPoint3DLike
 - rot_axis_fromPoint3DLike
 - rot_axis_toPoint3DLike
 - rot_angleValueLike
 Rotation angle, specified counter-clockwise in radians, from the
rot_axis_fromparameter towards therot_axis_toparameter.- offsetPoint3DLike
 - mirrorbool
 Mirror against the YZ plane.
Methods
Transform3D.create_copy(transform3d)Create a 3D transformation by copying another 3D transformation.
Transform3D.create_from_angle(zyx_decomposition)Create a 3D transformation from ZYX decomposition.
Transform3D.create_from_axis(x, y, z)Create a 3D transformation with a rotation matrix from three axes.
Transform3D.create_from_axis_and_angle(axis, ...)Create a 3D transformation with the given axis and angle.
Transform3D.create_from_center_scale(center, ...)Create a 3D transformation for scaling about a point.
Transform3D.create_from_matrix(matrix)Create a 3D transformation from general matrix data.
Transform3D.create_from_offset(offset)Create a 3D transformation with an offset.
Create a 3D transformformation with rotation from an axis to an axis.
Create a 3D transformation with transform data.
Create an identity transformation 3D matrix.
Invert the 3D transformation.
Transform3D.is_equal(other_transform, ...)Equality check for two #D transformations.
Transform3D.is_identity(eps, rotation)Get identity of the 3D transformation.
Transform3D.transform_point(point)Get the transform point of the 3D transformation.
Transpose the 3D transformation.
Attributes
listof Point3DLike: Axis.int: Unique ID of the EDB object.bool: Flag indicating if the object exists in the database.listoflistoffloat: Transformation matrix as a 2D 4x4 array.EDBObjMessage: Protobuf message that represents the object's ID.Point3DData: Scaling.Point3DData: Shift.Point3DData: ZYX rotation.