SourceAmbientUsStandard#
- class ansys.speos.core.source.SourceAmbientUsStandard(project, name, description='', metadata=None, source_instance=None, default_parameters=None)#
Bases:
BaseSourceAmbientU.S. Standard atmosphere ambient source.
By default, [0, 0, 1] is used as zenith direction, [0, 1, 0] as north direction, and sun type is set to automatic.
- Parameters:
- project
ansys.speos.core.project.Project Project that will own the feature.
- name
str Name of the feature.
- description
str Description of the feature. By default,
"".- metadata
Optional[Mapping[str,str]] Metadata of the feature. By default,
{}.- default_parameters
Optional[ansys.speos.core.generic.parameters.AmbientUsStandardParameters] =None - If defined the values in the SourceAmbientUsStandard instance
will be overwritten by the values of the data class.
- project
- Parameters:
project (SourceAmbientUsStandard.__init__.project)
name (str)
description (str)
source_instance (Optional[ansys.speos.core.kernel.scene.ProtoScene.SourceInstance])
default_parameters (Optional[ansys.speos.core.generic.parameters.AmbientUsStandardParameters])
Overview#
Set U.S. Standard sun type as automatic. |
|
Set U.S. Standard sun type as manual. |
Zenith direction of the U.S. Standard ambient source. |
|
Reverse zenith direction flag of the U.S. Standard ambient source. |
|
North direction of the U.S. Standard ambient source. |
|
Reverse north direction flag of the U.S. Standard ambient source. |
Import detail#
from ansys.speos.core.source import SourceAmbientUsStandard
Property detail#
- property SourceAmbientUsStandard.zenith_direction: List[float]#
Zenith direction of the U.S. Standard ambient source.
- Returns:
List[float]Direction defining the zenith.
- property SourceAmbientUsStandard.reverse_zenith_direction: bool#
Reverse zenith direction flag of the U.S. Standard ambient source.
- Returns:
- bool
True to reverse zenith direction, False otherwise.
Method detail#
- SourceAmbientUsStandard.set_sun_automatic()#
Set U.S. Standard sun type as automatic.
- Returns:
ansys.speos.core.source.BaseSourceAmbient.AutomaticSunSun automatic type feature to complete.
- SourceAmbientUsStandard.set_sun_manual()#
Set U.S. Standard sun type as manual.
- Returns:
ansys.speos.core.source.BaseSourceAmbient.ManualSun manual type feature to complete.