TextureUVMappingOperator#
- class ansys.speos.core.opt_prop.TextureLayer.TextureUVMappingOperator(mapping, default_parameters=None)#
Texture mapping operator for a texture layer.
- Parameters:
default_parameters (Optional[ansys.speos.core.generic.parameters.UVMappingCubicParameters, ansys.speos.core.generic.parameters.UVMappingPlanarParameters, ansys.speos.core.generic.parameters.UVMappingSphericalParameters, ansys.speos.core.generic.parameters.UVMappingCylindricalParameters])
Overview#
Reference axis system for the mapping operator. |
|
Shift on U direction (mm). |
|
Shift on V direction (mm). |
|
Scale factor on U dimension. |
|
Scale factor on V dimension. |
|
Dimension on U direction (mm). |
|
Dimension on V direction (mm). |
|
Rotation of UVs in degrees, in range ]-360, 360[. |
|
Sphere perimeter for spherical mapping (mm). |
Convert the mapping operator properties to a dictionary for comparison. |
|
Override equality to compare mapping operator properties. |
|
Represent the mapping operator as string. |
Import detail#
from ansys.speos.core.opt_prop.TextureLayer import TextureUVMappingOperator
Property detail#
- property TextureUVMappingOperator.axis_system: list#
Reference axis system for the mapping operator.
- property TextureUVMappingOperator.u_offset: float#
Shift on U direction (mm).
- Returns:
floatU offset value.
- property TextureUVMappingOperator.v_offset: float#
Shift on V direction (mm).
- Returns:
floatV offset value.
- property TextureUVMappingOperator.u_scale: float#
Scale factor on U dimension.
- Returns:
floatU scale factor.
- property TextureUVMappingOperator.v_scale: float#
Scale factor on V dimension.
- Returns:
floatV scale factor.
- property TextureUVMappingOperator.u_length: float#
Dimension on U direction (mm).
- Returns:
floatU length value.
- property TextureUVMappingOperator.v_length: float | None#
Dimension on V direction (mm).
- Returns:
Optional[float]V length value, or
Nonewhen not set (image ratio is used instead).
Method detail#
- TextureUVMappingOperator.__todict__()#
Convert the mapping operator properties to a dictionary for comparison.
- TextureUVMappingOperator.__eq__(other)#
Override equality to compare mapping operator properties.
- TextureUVMappingOperator.__str__()#
Represent the mapping operator as string.