The opt_prop.py module#

Summary#

BaseSop

Base class for Surface Optical Property helpers.

BaseVop

Base class for Volume Optical Property helpers.

TextureLayer

Describes the optical and texture properties of a single texture layer.

OptProp

Speos feature wrapper for an optical property (SOP + VOP + geometries).

Description#

Utilities to interact with Speos optical property features.

This module exposes classes to create and manage Surface Optical Properties (SOP) and Volume Optical Properties (VOP) and to compose material instances that can be committed to a Speos project scene.

The public classes are: - BaseSop for inheritance of SOP helpers, - BaseVop for inheritance of VOP helpers, - TextureLayer for a single texture layer, - OptProp to represent a full material instance (SOP + VOP + geometries).

The ansys.speos.core package also exposes models of the optical property files that Speos takes as inputs. These are read and written locally and do not need a Speos server: - SimpleScatteringSurfaceFile for *.simplescattering files, - ScatteringSurfaceFile for *.scattering files, - CoatedSurfaceFile for *.coated files, - MaterialFile for *.material files.