RepairPartsSettings

A settings object for repairing geometry parts.

Example

application = cf.Application.GetInstance()
project = application:NewProject()

    -- Get the settings for repairing geometry parts

repairPartsSettings = project.Contents.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 Object object.

Usage locations

The RepairPartsSettings object can be accessed from the following locations:

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 ParametricExpression)
Label
The object label. (Read/Write string)
MaxSmallEdgeLength
The maximum length of small edges. This property is only valid if RemoveSmallEdgesEnabled is true. (Read/Write ParametricExpression)
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 SimplifyPartRepresentationSettings)
SimplifyToBlends
The options for simplifying surfaces to blends. (Read/Write SimplifyBlendTypeEnum)
SmootheningAngularTolerance
The angular tolerance for geometry smoothening (degrees). This property is only valid if RemoveDiscontinuitiesEnabled is true. (Read/Write ParametricExpression)
SpecifiedEdgeRepairTolerance
The specified edge repair tolerance. This property is only valid if SpecifyEdgeToleranceEnabled is true. (Read/Write ParametricExpression)
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

Delete ()
Deletes the entity.
Duplicate ()
Duplicates the entity. (Returns a Object object.)
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 Object)
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.

Static Function List

GetDefaultProperties ()
Creates a table containing the default settings to create an object. (Returns a table object.)

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
ParametricExpression
Access
Read/Write
Label
The object label.
Type
string
Access
Read/Write
MaxSmallEdgeLength
The maximum length of small edges. This property is only valid if RemoveSmallEdgesEnabled is true.
Type
ParametricExpression
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
SimplifyPartRepresentationSettings
Access
Read only
SimplifyToBlends
The options for simplifying surfaces to blends.
Type
SimplifyBlendTypeEnum
Access
Read/Write
SmootheningAngularTolerance
The angular tolerance for geometry smoothening (degrees). This property is only valid if RemoveDiscontinuitiesEnabled is true.
Type
ParametricExpression
Access
Read/Write
SpecifiedEdgeRepairTolerance
The specified edge repair tolerance. This property is only valid if SpecifyEdgeToleranceEnabled is true.
Type
ParametricExpression
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

Delete ()
Deletes the entity.
Duplicate ()
Duplicates the entity.
Return
Object
The new (duplicated) entity.
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 table defining the properties.
RestoreDefaults ()
Restores all the settings to their default values.
SetProperties (properties Object)
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(Object)
A table of properties defining the new state of the object.

Static Function Details

GetDefaultProperties ()
Creates a table containing the default settings to create an object.
Return
table
A table containing the default properties.