SourceRayFileBuilder Class Reference
Last update: 17.07.2025Represents the builder for a ray file source. More...

Static Public Attributes | |
| str | AxisSystem = property(fget=__GetAxisSystem) |
| Gets the axis system. | |
| str | ExitGeometries = property(fget=__GetExitGeometries, fset=__SetExitGeometries) |
| Gets or sets exit geometries. | |
| str | Flux = property(fget=__GetFlux, fset=__SetFlux) |
| Gets or sets the flux. | |
| str | FluxFromFile = property(fget=__GetFluxFromFile, fset=__SetFluxFromFile) |
| Gets or sets the property to enable fetching the flux from file. | |
| str | FluxUnit = property(fget=__GetFluxUnit, fset=__SetFluxUnit) |
| Gets or sets the flux unit. | |
| str | NumberOfRays = property(fget=__GetNumberOfRays, fset=__SetNumberOfRays) |
| Gets or sets the number of rays. | |
| str | RayFilePath = property(fget=__GetRayFilePath, fset=__SetRayFilePath) |
| Gets or sets the ray file path. | |
| str | RayLength = property(fget=__GetRayLength, fset=__SetRayLength) |
| Gets or sets the ray length. | |
| str | Spectrum = property(fget=__GetSpectrum, fset=__SetSpectrum) |
| Gets or sets the spectrum type. | |
| str | SpectrumFilePath = property(fget=__GetSpectrumFilePath, fset=__SetSpectrumFilePath) |
| Gets or set the spectrum file path. | |
| str | Temperature = property(fget=__GetTemperature, fset=__SetTemperature) |
| Gets or sets the temperature. | |
| str | Wavelength = property(fget=__GetWavelength, fset=__SetWavelength) |
| Gets or sets the wavelength. | |
Static Public Attributes inherited from FeatureBuilder | |
| str | Feature = property(fget=__GetFeature) |
| Returns the feature being edited, or the created feature if the builder is being used in creation mode. | |
| str | FullName = property(fget=__GetFullName) |
| Gets the full name of the feature being edited. | |
| str | Name = property(fget=__GetName, fset=__SetName) |
| Gets or sets the name of the feature being edited. | |
| str | NameWithContext = property(fget=__GetNameWithContext) |
| Gets the name with context of the feature being edited. | |
Additional Inherited Members | |
Public Member Functions inherited from FeatureBuilder | |
| 'None' | Commit (self) |
| Commits any edits that have been applied to the builder. | |
| 'None' | ShowResult (self) |
| Updates the feature to reflect the result of an edit to the feature for all builders that support showing results. | |
Detailed Description
Represents the builder for a ray file source.
The ray file source builder is used to create and edit ray file source features.
To create a new instance of this class, use FeatureCollection::CreateSourceRayFileBuilder
Member Data Documentation
◆ AxisSystem
|
static |
Gets the axis system.
Value type: AxisSystem object.
◆ ExitGeometries
|
static |
Gets or sets exit geometries.
The ExitGeometries property takes a list of feature tag and returns a list of feature tag.
Value type: List of integer.
The default value is an empty list.
◆ Flux
|
static |
Gets or sets the flux.
Value type: Double (in lumen or watt).
Range: The value must be superior to 0.0.
By default the value comes from the ray file, otherwise value is 683. lumen.
◆ FluxFromFile
|
static |
Gets or sets the property to enable fetching the flux from file.
True: Enables fetching the flux from file.
False: Disables fetching the flux from file.
Value type: Boolean.
The default value is True.
◆ FluxUnit
|
static |
Gets or sets the flux unit.
The values are:
0 - lumen (lm).
1 - watt (W).
Value type: Integer.
The default value is 0.
◆ NumberOfRays
|
static |
Gets or sets the number of rays.
Value type: Integer.
Range: The value must be superior or equal to 0.
The default value is 100.
◆ RayFilePath
|
static |
Gets or sets the ray file path.
Value type: String.
The default value is an empty string.
◆ RayLength
|
static |
Gets or sets the ray length.
Value type: Double (in millimeter).
Range: The value must be superior to 0.0.
The default value is 75.0 mm.
◆ Spectrum
|
static |
Gets or sets the spectrum type.
The values are:
0 - Monochromatic, with this value the wavelength property is available.
1 - Blackbody, with this value the temperature property is available.
2 - Library, with this value the spectrum file property is available.
Value type: Integer.
The default value is 0.
◆ SpectrumFilePath
|
static |
Gets or set the spectrum file path.
Prerequisite: The SpectrumType must be 1.
Value type: String.
The default value is an empty string.
◆ Temperature
|
static |
Gets or sets the temperature.
Prerequisite: The SpectrumType must be 0.
Value type: double (in Kelvin).
Range: The value must be superior to 0.0.
The default value is 2856.0 K.
◆ Wavelength
|
static |
Gets or sets the wavelength.
Value type: Double (in nanometer).
Range: The value must be superior to 0.0.
The default value is 555.0 nm.
The documentation for this class was generated from the following file:
- SpeosNX.py
Static Public Attributes inherited from