BaseTextureMap#

class ansys.speos.core.opt_prop.TextureLayer.BaseTextureMap(parent, texture_type, stable_ctr=False)#

Base class for texture mapping properties.

Parameters:

Overview#

set_uv_mapping_cylindrical

Set cylindrical mapping for the texture layer.

set_uv_mapping_planar

Set planar mapping for the texture layer.

set_uv_mapping_cubic

Set cubic mapping for the texture layer.

set_uv_mapping_spherical

Set spherical mapping for the texture layer.

set_uv_mapping_by_data

Set mapping by vertices data index for the texture layer.

uv_mapping

Texture mapping properties for the texture layer.

Import detail#

from ansys.speos.core.opt_prop.TextureLayer import BaseTextureMap

Property detail#

property BaseTextureMap.uv_mapping: TextureLayer | TextureLayer | None#

Texture mapping properties for the texture layer.

Method detail#

BaseTextureMap.set_uv_mapping_cylindrical()#

Set cylindrical mapping for the texture layer.

Returns:
ansys.speos.core.opt_prop.TextureLayer.TextureUVMappingOperator

The mapping operator for the cylindrical mapping.

BaseTextureMap.set_uv_mapping_planar()#

Set planar mapping for the texture layer.

BaseTextureMap.set_uv_mapping_cubic()#

Set cubic mapping for the texture layer.

BaseTextureMap.set_uv_mapping_spherical()#

Set spherical mapping for the texture layer.

Returns:
ansys.speos.core.opt_prop.TextureLayer.TextureUVMappingOperator

The mapping operator for the spherical mapping.

BaseTextureMap.set_uv_mapping_by_data()#

Set mapping by vertices data index for the texture layer.