OpticalPropertiesBuilder Class Reference
Last update: 16.07.2025Represents the builder for optical properties. More...

Static Public Attributes | |
| str | Angle = property(fget=__GetAngle, fset=__SetAngle) |
| Gets or sets the meshing angle. | |
| str | MeshingEdgeAngle = property(fget=__GetMeshingEdgeAngle, fset=__SetMeshingEdgeAngle) |
| Gets or sets the meshing angle. | |
| str | MeshingEdgeSagValue = property(fget=__GetMeshingEdgeSagValue, fset=__SetMeshingEdgeSagValue) |
| Gets or sets the meshing edge sag value. | |
| str | OpticalPropertiesGeometry = property(fget=__GetOpticalPropertiesGeometry) |
| Gets optical properties geometry. | |
| str | SOPLibraryFilePath = property(fget=__GetSOPLibraryFilePath, fset=__SetSOPLibraryFilePath) |
| Gets or sets the surface optical properties library file. | |
| str | SOPParametersFilePath = property(fget=__GetSOPParametersFilePath, fset=__SetSOPParametersFilePath) |
| Gets or sets the surface optical properties parameters file. | |
| str | SOPPluginFilePath = property(fget=__GetSOPPluginFilePath, fset=__SetSOPPluginFilePath) |
| Gets or sets the surface optical properties plug-in file. | |
| str | SOPReflectance = property(fget=__GetSOPReflectance, fset=__SetSOPReflectance) |
| Gets or sets the surface optical properties reflectance. | |
| str | SOPType = property(fget=__GetSOPType, fset=__SetSOPType) |
| Gets or sets the surface optical properties. | |
| str | SagMode = property(fget=__GetSagMode, fset=__SetSagMode) |
| Gets or sets the meshing sag mode. | |
| str | SagValue = property(fget=__GetSagValue, fset=__SetSagValue) |
| Gets or sets the meshing sag value. | |
| str | SpecificParametersFacetEdges = property(fget=__GetSpecificParametersFacetEdges, fset=__SetSpecificParametersFacetEdges) |
| Gets or sets the specific parameters property for facet edges. | |
| str | StepMode = property(fget=__GetStepMode, fset=__SetStepMode) |
| Gets or sets the meshing step mode. | |
| str | StepValue = property(fget=__GetStepValue, fset=__SetStepValue) |
| Gets or sets the meshing step value. | |
| str | UseMeshingProperties = property(fget=__GetUseMeshingProperties, fset=__SetUseMeshingProperties) |
| Gets or sets the meshing properties property. | |
| str | UseOpticalProperties = property(fget=__GetUseOpticalProperties, fset=__SetUseOpticalProperties) |
| Gets or sets the optical properties property. | |
| str | UseVOPConstringence = property(fget=__GetUseVOPConstringence, fset=__SetUseVOPConstringence) |
| Gets or sets the volume optical properties constringence property. | |
| str | VOPAbsorption = property(fget=__GetVOPAbsorption, fset=__SetVOPAbsorption) |
| Gets or sets the volume optical properties absorption. | |
| str | VOPConstringence = property(fget=__GetVOPConstringence, fset=__SetVOPConstringence) |
| Gets or sets the volume optical properties constringence. | |
| str | VOPIndex = property(fget=__GetVOPIndex, fset=__SetVOPIndex) |
| Gets or sets the volume optical properties index. | |
| str | VOPLibraryFilePath = property(fget=__GetVOPLibraryFilePath, fset=__SetVOPLibraryFilePath) |
| Gets or sets the volume optical properties library file. | |
| str | VOPType = property(fget=__GetVOPType, fset=__SetVOPType) |
| Gets or sets the volume optical properties type. | |
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. | |
| str | Status = property(fget=__GetStatus) |
| Returns the status of the feature being edited. | |
Properties | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') | |
Properties inherited from FeatureBuilder | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') | |
Properties inherited from Builder | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') | |
Additional Inherited Members | |
Public Member Functions inherited from FeatureBuilder | |
| 'None' | ShowResult (self) |
| Updates the feature to reflect the result of an edit to the feature for all builders that support showing results. | |
Public Member Functions inherited from Builder | |
| 'None' | Commit (self) |
| Commits any edits that have been applied to the builder. | |
Detailed Description
Represents the builder for optical properties.
The optical properties builder is used to create and edit optical properties features.
To create a new instance of this class, use FeatureCollection::CreateOpticalPropertiesBuilder
Member Data Documentation
◆ Angle
|
static |
Gets or sets the meshing angle.
Prerequisite: The IsMeshingProperties property must be True.
Value type: Double (in degrees).
Range: (0.0, 90.0).
The default value is 15.0 degrees.
◆ MeshingEdgeAngle
|
static |
Gets or sets the meshing angle.
Prerequisite: The IsSpecificParametersFacetEdges property must be True.
Defines the maximum angular variation in degrees between successive tangents for all points along a solid edge.
Value type: Double (in degrees).
Range: (0.0, 90.0).
The default value is 10.0 degrees.
◆ MeshingEdgeSagValue
|
static |
Gets or sets the meshing edge sag value.
Prerequisite: The IsSpecificParametersFacetEdges property must be True.
Defines the maximum distance between the geometry and the meshing on the edges. The Meshing edge sag value always uses the Fixed mode.
Value type: Double (in mm).
Range: The value must be superior to 0.
The default value is 0.1 mm.
◆ OpticalPropertiesGeometry
|
static |
Gets optical properties geometry.
Value type: OpticalPropertiesGeometry object.
◆ SagMode
|
static |
Gets or sets the meshing sag mode.
Prerequisite: The IsMeshingProperties property must be True.
The values are:
0 - Proportional, the value adapts and adjusts to the size of each face of the object.
1 - Fixed, the value will remain unchanged no matter the size or shape of the object.
Value type: Integer.
The default value is 1.
◆ SagValue
|
static |
Gets or sets the meshing sag value.
Value type: Double (in mm).
Range: The value must be superior to 0.
The default value is 0.5 mm.
◆ SOPLibraryFilePath
|
static |
Gets or sets the surface optical properties library file.
Prerequisite: The SOPType property must be 2.
Value type: String.
The default value is an empty string.
◆ SOPParametersFilePath
|
static |
Gets or sets the surface optical properties parameters file.
Prerequisite: The SOPType property must be 3.
Value type: String.
The default value is an empty string.
◆ SOPPluginFilePath
|
static |
Gets or sets the surface optical properties plug-in file.
Prerequisite: The SOPType property must be 3.
Value type: String.
The default value is an empty string.
◆ SOPReflectance
|
static |
Gets or sets the surface optical properties reflectance.
Prerequisite: The SOPType property must be 1.
Value type: Double.
Range: [0.0, 100.0].
The default value is 100.0.
◆ SOPType
|
static |
Gets or sets the surface optical properties.
Prerequisite: The IsOpticalProperties property must be True.
The values are:
0 - Optical Polished, uses a transparent or perfectly polished material (glass, plastic).
1 - Mirror, uses a perfect specular surface and edits the Reflectance value if needed.
2 - Library, with this value the SOPLibraryFile property is available and must be defined.
3 - Plug-in, selects a custom made *.sop plug-in as File and the Parameters file for the plug-in.
Value type: Integer.
The default value is 1.
◆ SpecificParametersFacetEdges
|
static |
Gets or sets the specific parameters property for facet edges.
Prerequisite: The IsMeshingProperties property must be True.
Allows you to control the precision of the meshing on the edges of the faces.
True: Enables specific parameters for facet edges.
False: Disables specific parameters for facet edges.
Value type: Boolean.
The default value is False.
◆ StepMode
|
static |
Gets or sets the meshing step mode.
Prerequisite: The IsMeshingProperties property must be True.
The values are:
0 - Proportional, the value adapts and adjusts to the size of each face of the object.
1 - Fixed, the value will remain unchanged no matter the size or shape of the object.
Value type: Integer.
The default value is 1.
◆ StepValue
|
static |
Gets or sets the meshing step value.
Value type: Double (in mm).
Range: The value must be superior to 0.
The default value is 1.0 mm.
◆ UseMeshingProperties
|
static |
Gets or sets the meshing properties property.
True: Enables meshing properties.
False: Disables meshing properties.
Value type: Boolean.
The default value is False.
◆ UseOpticalProperties
|
static |
Gets or sets the optical properties property.
True: Enables optical properties.
False: Disables optical properties.
Value type: Boolean.
The default value is True.
◆ UseVOPConstringence
|
static |
Gets or sets the volume optical properties constringence property.
Prerequisite: The VOPType property must be 0.
True: Enables constringence.
False: Disables constringence.
Value type: Boolean.
The default value is False.
◆ VOPAbsorption
|
static |
Gets or sets the volume optical properties absorption.
Prerequisite: The VOPType property must be 0.
Value type: Double.
Range: The value must be superior or equal to 0.
The default value is 0.0.
◆ VOPConstringence
|
static |
Gets or sets the volume optical properties constringence.
Prerequisite: The IsVOPConstringence property must be True.
Value type: Double.
Range: The value must be superior or equal to 20.0.
The default value is 60.0
◆ VOPIndex
|
static |
Gets or sets the volume optical properties index.
Prerequisite: The VOPType property must be 0.
Value type: Double.
Range: The value must be superior or equal to 1.
The default value is 1.5.
◆ VOPLibraryFilePath
|
static |
Gets or sets the volume optical properties library file.
Prerequisite: The VOPType property must be 2.
value type: String.
The default value is an empty string.
◆ VOPType
|
static |
Gets or sets the volume optical properties type.
Prerequisite: The IsOpticalProperties property must be True.
The values are:
0 - Optic, uses transparent colorless part without bulk scattering.
1 - Opaque (Solid Body), uses non transparent part.
2 - Library, with this value the VOPLibraryFile property is available and must be defined.
3 - None, does not apply a volume optical properties on surface in case you have a surface geometry.
Value type: Integer.
The default value is 1.
The documentation for this class was generated from the following file:
- SpeosNX_2412.py
Static Public Attributes inherited from