Texture3DParameters#

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

Store default values for a 3D texture.

Parameters:
axis_systemlist[float], optional

Anchor of the 3D texture pattern [Ox Oy Oz Xx Xy Xz Yx Yy Yz Zx Zy Zz]. By default, the global origin axis system.

support_body_geo_pathstr, optional

Geometry path of the body supporting the 3D texture. By default, "".

pattern_body_guidstr, optional

Guid of the body used as 3D texture pattern. By default, "".

pattern_operationansys.speos.core.generic.parameters.Texture3DPatternOperations, optional

Operation applied on the support body according to the pattern. By default, Texture3DPatternOperations.add_on_same_material.

global_scalefloat, optional

Global scale factor applied to the 3D texture pattern. By default, 1.0.

mapping_3d_file_uriUnion[str, pathlib.Path], optional

Uri of the 3D mapping file (.OPT3DMapping) used for this 3D texture. By default, "".

Overview#

axis_system

Anchor of the 3D texture pattern.

support_body_geo_path

Geometry path of the body supporting the 3D texture.

pattern_operation

Operation applied on the support body according to the pattern.

global_scale

Global scale factor applied to the 3D texture pattern.

mapping_3d_file_uri

Uri of the 3D mapping file (.OPT3DMapping).

Import detail#

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

Attribute detail#

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

Anchor of the 3D texture pattern.

Texture3DParameters.support_body_geo_path: str = ''#

Geometry path of the body supporting the 3D texture.

Texture3DParameters.pattern_operation: Texture3DPatternOperations#

Operation applied on the support body according to the pattern.

Texture3DParameters.global_scale: float = 1.0#

Global scale factor applied to the 3D texture pattern.

Texture3DParameters.mapping_3d_file_uri: str | pathlib.Path = ''#

Uri of the 3D mapping file (.OPT3DMapping).