RepairPartsSettings

A settings object for repairing geometry parts.

Example

app = cf.GetApplication()
project = app:NewProject()

    -- Get the settings for repairing geometry parts
    
repairPartsSettings = project.Geometry.Repair.RepairPartsSettings

    -- Get the setting for the upper bound on deviation between original and repaired geometry
    
deviation = repairPartsSettings.DeviationUpperBound

Inheritance

The RepairPartsSettings object is derived from the RepairSettings object.

Usage locations (object properties)

The following objects have properties using the RepairPartsSettings object:

Property List

AdvancedSelfIntersectionRemovalEnabled
This option enables a more thorough self-intersection removal process. This property is only valid if RemoveSelfIntersectionsEnabled is true. (Read/Write boolean)
DeviationUpperBound
The upper bound on deviation between original and repaired geometry. (Read/Write Expression)
MaxSmallEdgeLength
The maximum length of small edges. This property is only valid if RemoveSmallEdgesEnabled is true. (Read/Write Expression)
RemoveDiscontinuitiesEnabled
The option to remove discontinuities. (Read/Write boolean)
RemoveSelfIntersectionsEnabled
The option to remove self-intersections. (Read/Write boolean)
RemoveSmallEdgesEnabled
The option to remove small edges during the repair operation. (Read/Write boolean)
RepairBadFaceFaceErrorsEnabled
The option to repair bad face-face errors. (Read/Write boolean)
SimplifyGeometryDuringCleaningEnabled
The option to simplify geometry during repairing. (Read/Write boolean)
SimplifyPartSettings
The simplify part settings. These properties are only valid if SimplifyGeometryDuringCleaningEnabled is true. (Read only SimplifyPartSettings)
SimplifyToBlends
The options for simplifying surfaces to blends. (Read/Write RepairPartSimplifyBlendTypeEnum)
SmootheningAngularTolerance
The angular tolerance for geometry smoothening (degrees). This property is only valid if RemoveDiscontinuitiesEnabled is true. (Read/Write Expression)
SpecifiedEdgeRepairTolerance
The specified edge repair tolerance. This property is only valid if SpecifyEdgeToleranceEnabled is true. (Read/Write Expression)
SpecifyEdgeToleranceEnabled
The option to specify an edge repair tolerance. (Read/Write boolean)
SuppressSurfaceModificationsEnabled
The option to suppress surface modifications. (Read/Write boolean)
Type
The object type string. (Read only string)

Method List

GetProperties ()
Returns a table of properties representing the state of the object. The properties table can be used with the SetProperties method to change multiple properties of the object in one step. (Returns a table object.)
RestoreDefaults ()
Restores all the settings to their default values.
SetProperties (properties table)
Modifies the state of the object using the provided table of properties. This method is used to modify multiple properties of the object in a single step.

Property Details

AdvancedSelfIntersectionRemovalEnabled
This option enables a more thorough self-intersection removal process. This property is only valid if RemoveSelfIntersectionsEnabled is true.
Type
boolean
Access
Read/Write
DeviationUpperBound
The upper bound on deviation between original and repaired geometry.
Type
Expression
Access
Read/Write
MaxSmallEdgeLength
The maximum length of small edges. This property is only valid if RemoveSmallEdgesEnabled is true.
Type
Expression
Access
Read/Write
RemoveDiscontinuitiesEnabled
The option to remove discontinuities.
Type
boolean
Access
Read/Write
RemoveSelfIntersectionsEnabled
The option to remove self-intersections.
Type
boolean
Access
Read/Write
RemoveSmallEdgesEnabled
The option to remove small edges during the repair operation.
Type
boolean
Access
Read/Write
RepairBadFaceFaceErrorsEnabled
The option to repair bad face-face errors.
Type
boolean
Access
Read/Write
SimplifyGeometryDuringCleaningEnabled
The option to simplify geometry during repairing.
Type
boolean
Access
Read/Write
SimplifyPartSettings
The simplify part settings. These properties are only valid if SimplifyGeometryDuringCleaningEnabled is true.
Type
SimplifyPartSettings
Access
Read only
SimplifyToBlends
The options for simplifying surfaces to blends.
Type
RepairPartSimplifyBlendTypeEnum
Access
Read/Write
SmootheningAngularTolerance
The angular tolerance for geometry smoothening (degrees). This property is only valid if RemoveDiscontinuitiesEnabled is true.
Type
Expression
Access
Read/Write
SpecifiedEdgeRepairTolerance
The specified edge repair tolerance. This property is only valid if SpecifyEdgeToleranceEnabled is true.
Type
Expression
Access
Read/Write
SpecifyEdgeToleranceEnabled
The option to specify an edge repair tolerance.
Type
boolean
Access
Read/Write
SuppressSurfaceModificationsEnabled
The option to suppress surface modifications.
Type
boolean
Access
Read/Write
Type
The object type string.
Type
string
Access
Read only

Method Details

GetProperties ()
Returns a table of properties representing the state of the object. The properties table can be used with the SetProperties method to change multiple properties of the object in one step.
Return
table
A properties table.
RestoreDefaults ()
Restores all the settings to their default values.
SetProperties (properties table)
Modifies the state of the object using the provided table of properties. This method is used to modify multiple properties of the object in a single step.
Input Parameters
properties(table)
A table of properties defining the new state of the object.