CommonUVMappingParameters#

class ansys.speos.core.generic.parameters.CommonUVMappingParameters#

Store all information needed to create a UV mapping.

Overview#

u_length

Length of the mapping along the U axis.

v_length

Length of the mapping along the V axis.

u_offset

Offset of the mapping origin along the U axis.

v_offset

Offset of the mapping origin along the V axis.

axis_system

Axis system used to position and orient the mapping.

u_scale

Scaling factor applied along the U axis.

v_scale

Scaling factor applied along the V axis.

rotation

Rotation angle of the mapping.

Import detail#

from ansys.speos.core.generic.parameters import CommonUVMappingParameters

Attribute detail#

CommonUVMappingParameters.u_length: float = 10#

Length of the mapping along the U axis.

CommonUVMappingParameters.v_length: float | None = None#

Length of the mapping along the V axis.

CommonUVMappingParameters.u_offset: float = 0#

Offset of the mapping origin along the U axis.

CommonUVMappingParameters.v_offset: float = 0#

Offset of the mapping origin along the V axis.

CommonUVMappingParameters.axis_system: list[float] = [0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1]#

Axis system used to position and orient the mapping.

CommonUVMappingParameters.u_scale: float = 1#

Scaling factor applied along the U axis.

CommonUVMappingParameters.v_scale: float = 1#

Scaling factor applied along the V axis.

CommonUVMappingParameters.rotation: float = 0#

Rotation angle of the mapping.