SimulationVirtualBSDF#
- class ansys.speos.core.simulation.SimulationVirtualBSDF(project, name, description='', metadata=None, simulation_instance=None, default_values=True)#
Bases:
BaseSimulationType of simulation : Virtual BSDF Bench.
By default, geometry distance tolerance is set to 0.01, maximum number of impacts is set to 100, a colorimetric standard is set to CIE 1931, and weight’s minimum energy percentage is set to 0.005.
- Parameters:
- project
ansys.speos.core.project.Project Project in which simulation shall be created.
- name
str Name of the simulation.
- description
str Description of the Simulation. By default,
"".- metadata
Optional[Mapping[str,str]] Metadata of the feature. By default,
{}.- simulation_instance
ansys.api.speos.scene.v2.scene_pb2.Scene.SimulationInstance,optional Simulation instance to provide if the feature does not have to be created from scratch By default,
None, means that the feature is created from scratch by default.- default_valuesbool
Uses default values when True.
- project
- Parameters:
Overview#
Disabled - Setting sensor paths is not available for this simulation type. |
|
Disabled - Setting source paths is not available for this simulation type. |
Activate weight. Highly recommended to fill. |
|
Deactivate weight. |
|
Set the colorimetric standard to CIE 1931. |
|
Set the colorimetric standard to CIE 1964. |
|
Set BSDF depends on surface roughness only. |
|
Set BSDF depends on all properties. |
|
Set the range of wavelengths. |
|
Set sensor sampling uniform. |
|
Set sensor sampling automatic. |
Sensor integration angle. |
|
Axis system of the bsdf bench. |
|
Analysis x ratio. |
|
Analysis y ratio. |
|
Stop condition as ray number. |
Import detail#
from ansys.speos.core.simulation import SimulationVirtualBSDF
Property detail#
- property SimulationVirtualBSDF.integration_angle: float#
Sensor integration angle.
This property gets or sets the sensor integration angle used by the virtual BSDF bench simulation.
- property SimulationVirtualBSDF.axis_system: List[float]#
Axis system of the bsdf bench.
This property gets or sets the axis system used by the virtual BSDF bench simulation.
- property SimulationVirtualBSDF.analysis_x_ratio: float#
Analysis x ratio.
This property gets or sets the analysis ratio in range [0., 100.] in x direction used by the virtual BSDF bench simulation
- Parameters:
- value: float
The analysis x ratio to assign.
- Returns:
floatRatio to reduce the analysis area following x
- property SimulationVirtualBSDF.analysis_y_ratio: float#
Analysis y ratio.
This property gets or sets the analysis ratio in range [0., 100.] in y direction used by the virtual BSDF bench simulation
- Parameters:
- value: float
The analysis y ratio to assign.
- Returns:
floatRatio to reduce the analysis area following y
- property SimulationVirtualBSDF.stop_condition_ray_number: int#
Stop condition as ray number.
This property gets or sets the ray number stop condition used by the virtual BSDF bench simulation.
- Parameters:
- value: int
The ray stop condition ray number to assign.
- Returns:
intThe ray stop condition ray number.
Method detail#
- abstract SimulationVirtualBSDF.set_sensor_paths(sensor_paths)#
Disabled - Setting sensor paths is not available for this simulation type.
This method is intentionally not supported in
SimulationVirtualBSDF. It exists only to satisfy the interface defined in the base class and will always raise aNotImplementedErrorwhen called.- Parameters:
- sensor_paths
List[str] Ignored. Present only for compatibility with the base class.
- sensor_paths
- Returns:
NoneThis method does not return anything. It always raises an exception.
- Raises:
NotImplementedErrorAlways raised, since this method is disabled in this subclass.
- abstract SimulationVirtualBSDF.set_source_paths(source_paths)#
Disabled - Setting source paths is not available for this simulation type.
This method is intentionally not supported in
SimulationVirtualBSDF. It exists only to satisfy the interface defined in the base class and will always raise aNotImplementedErrorwhen called.- Parameters:
- source_paths
List[str] Ignored. Present only for compatibility with the base class.
- source_paths
- Returns:
NoneThis method does not return anything. It always raises an exception.
- Raises:
NotImplementedErrorAlways raised, since this method is disabled in this subclass.
- SimulationVirtualBSDF.set_weight()#
Activate weight. Highly recommended to fill.
- Returns:
- SimulationVirtualBSDF.set_weight_none()#
Deactivate weight.
- Returns:
ansys.speos.core.simulation.SimulationVirtualBSDFSimulationVirtualBSDF simulation
- SimulationVirtualBSDF.set_colorimetric_standard_CIE_1931()#
Set the colorimetric standard to CIE 1931.
2 degrees CIE Standard Colorimetric Observer Data.
- Returns:
ansys.speos.core.simulation.SimulationVirtualBSDFSimulationVirtualBSDF simulation
- SimulationVirtualBSDF.set_colorimetric_standard_CIE_1964()#
Set the colorimetric standard to CIE 1964.
10 degrees CIE Standard Colorimetric Observer Data.
- Returns:
ansys.speos.core.simulation.SimulationVirtualBSDFSimulationVirtualBSDF simulation
- SimulationVirtualBSDF.set_mode_roughness_only()#
Set BSDF depends on surface roughness only.
- Returns:
ansys.speos.core.simulation.SimulationVirtualBSDF.RoughnessOnlyroughness only settings
- SimulationVirtualBSDF.set_mode_all_characteristics()#
Set BSDF depends on all properties.
- Returns:
ansys.speos.core.simulation.SimulationVirtualBSDF.AllCharacteristicsall properties settings
- SimulationVirtualBSDF.set_wavelengths_range()#
Set the range of wavelengths.
- Returns:
ansys.speos.core.simulation.SimulationVirtualBSDF.WavelengthsRangeWavelengths range settings for SimulationVirtualBSDF
- SimulationVirtualBSDF.set_sensor_sampling_uniform()#
Set sensor sampling uniform.
- Returns:
ansys.speos.core.simulation.SimulationVirtualBSDF.SensorUniformuniform type of sensor settings
- SimulationVirtualBSDF.set_sensor_sampling_automatic()#
Set sensor sampling automatic.
- Returns:
ansys.speos.core.simulation.SimulationVirtualBSDFSimulationVirtualBSDF simulation
Classes#
Roughness only mode of BSDF bench measurement. |
|
BSDF depends on all properties mode of BSDF bench measurement. |
|
Range of wavelengths. |
|
BSDF bench sensor settings. |