Library#
- class ansys.speos.core.intensity.Intensity.Library(library, library_props, default_parameters=None)#
Intensity of type: Library.
By default, orientation as axis system is chosen and no exit geometries.
- Parameters:
- library
ansys.api.speos.intensity.v1.IntensityTemplate.Library Library to complete.
- library_props
ansys.api.speos.scene.v2.scene_pb2.Scene.SourceInstance.IntensityProperties.LibraryProperties Library properties to complete.
- default_parameters
Optional[ansys.speos.core.generic.parameters.IntensityLibraryParameters, ] =None If defined the values in the Library instance will be overwritten by the values of the data class.
- library
- Parameters:
library (ansys.speos.core.kernel.intensity_template.ProtoIntensityTemplate.Library)
library_props (ansys.speos.core.kernel.scene.ProtoScene.SourceInstance.IntensityProperties.LibraryProperties)
default_parameters (Optional[ansys.speos.core.generic.parameters.IntensityLibraryParameters])
Overview#
Set the intensity orientation as normal to surface. |
|
Set the intensity orientation as normal to uv map. |
Property of the intensity file uri. |
|
Intensity orientation property from an axis system. |
|
Property of exit geometries. |
Import detail#
from ansys.speos.core.intensity.Intensity import Library
Property detail#
- property Library.intensity_file_uri: str#
Property of the intensity file uri.
- Parameters:
- uri
Union[pathlib.Path,str] uri of the intensity file IES (.ies), Eulumdat (.ldt), speos intensities (.xmp)
- uri
- Returns:
- uri
str uri of the intensity file IES (.ies), Eulumdat (.ldt), speos intensities (.xmp)
- uri
- property Library.orientation_axis_system: List[float]#
Intensity orientation property from an axis system.
- property Library.exit_geometries: List[ansys.speos.core.geo_ref.GeoRef]#
Property of exit geometries.
- Parameters:
- exit_geometries
Optional[List[Union[ansys.speos.core.geo_ref.GeoRef,ansys.speos.core.body.Body]]] Exit geometries list. By default,
[].
- exit_geometries
- Returns:
List[ansys.speos.core.geo_ref.GeoRef]List of GeoRef of geometries.
Method detail#
- Library.set_orientation_normal_to_surface()#
Set the intensity orientation as normal to surface.
- Returns:
ansys.speos.core.intensity.Intensity.LibraryLibrary intensity.
- Library.set_orientation_normal_to_uv_map()#
Set the intensity orientation as normal to uv map.
- Returns:
ansys.speos.core.intensity.Intensity.LibraryLibrary intensity.