BaseVop#
- class ansys.speos.core.opt_prop.BaseVop(name, description='', metadata=None, vop_parameters=None, stable_ctr=False)#
Base class for Volume Optical Property helpers.
Notes
This is a superclass and is not intended to be instantiated directly.
- Parameters:
name (str)
description (str)
vop_parameters (Optional[Union[ansys.speos.core.generic.parameters.VopTypes.none, ansys.speos.core.generic.parameters.VopTypes.opaque, ansys.speos.core.generic.parameters.VopLibraryParameters, ansys.speos.core.generic.parameters.VopOpticParameters]])
Overview#
Remove any VOP template (no volume optical property). |
|
Set VOP to non-transparent (opaque) material. |
|
Set VOP to a transparent, non-scattering optic. |
|
Set VOP to use a library file. |
Optic parameters for a clear transparent volume. |
|
Library parameters when VOP is of library type. |
Link object for the vop template in database. |
Import detail#
from ansys.speos.core.opt_prop import BaseVop
Property detail#
- property BaseVop.vop_optic: BaseVop | None#
Optic parameters for a clear transparent volume.
- Returns:
Optional[ansys.speos.core.opt_prop.BaseVop.VopOptic]Optic helper containing index, absorption, and constringence when VOP is of optic type, otherwise
None.
- property BaseVop.vop_library: BaseVop | None#
Library parameters when VOP is of library type.
- Returns:
Optional[ansys.speos.core.opt_prop.BaseVop.VopLibrary]Library helper containing
material_file_uriwhen VOP is of library type, otherwiseNone.
Attribute detail#
- BaseVop.vop_template_link = None#
Link object for the vop template in database.
Method detail#
- BaseVop.set_volume_none()#
Remove any VOP template (no volume optical property).
- Returns:
ansys.speos.core.opt_prop.BaseVopReturns self for chaining.
- BaseVop.set_volume_opaque()#
Set VOP to non-transparent (opaque) material.
- Returns:
ansys.speos.core.opt_prop.BaseVopReturns self for chaining.
- BaseVop.set_volume_optic()#
Set VOP to a transparent, non-scattering optic.
- Returns:
ansys.speos.core.opt_prop.BaseVop.VopOpticReturns VOP Helper.
- BaseVop.set_volume_library()#
Set VOP to use a library file.
- Returns:
ansys.speos.core.opt_prop.BaseVop.VopLibraryReturns VOP Library helper.
Classes#
Optic parameters for a clear transparent volume. |
|
Helper class for library VOP parameters. |