RemoveSmallFeaturesSettings

A settings object for removing small geometry features.

Example

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

    -- Get the settings for removing small geometry features
    
smallFeatureSettings = project.Geometry.Repair.RemoveSmallFeaturesSettings

    -- Get the setting for the size that determines which small features will be removed
    
featureSize = smallFeatureSettings.SmallFeatureSize

Inheritance

The RemoveSmallFeaturesSettings object is derived from the RepairSettings object.

Usage locations (object properties)

The following objects have properties using the RemoveSmallFeaturesSettings object:

Property List

GashAspectBound
The maximum width to length ratio of any gash that is to be removed. Only valid if RemoveGashesEnabled is true. (Read/Write Expression)
RemoveGashesEnabled
If this option is selected, gashes are removed. SmallFeatureSize for gashes is the maximum width of any gash to be removed. (Read/Write boolean)
RemoveSliverFacesEnabled
If this option is selected, sliver faces are removed. SmallFeatureSize for sliver faces is defined as the tolerance which is the width of the sliver face. (Read/Write boolean)
RemoveSmallEdgesEnabled
If this option is selected, small edges are removed. Small edges have a length less than specified by SmallFeatureSize. (Read/Write boolean)
RemoveSmallFacesEnabled
If this option is selected, small faces are removed. A small face is any face that fits within a sphere of a radius specified by SmallFeatureSize. (Read/Write boolean)
RemoveSpikesEnabled
If this option is selected, spikes are removed from the geometry part. (Read/Write boolean)
RepairTolerantEdgesEnabled
This option specifies whether the healing of tolerant edges, created during the removal of narrow features such as sliver faces, spikes and gashes, should be attempted. (Read/Write boolean)
SmallFeatureSize
This field specifies the radius of a sphere to be used to determine which small features will be removed. (Read/Write Expression)
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

GashAspectBound
The maximum width to length ratio of any gash that is to be removed. Only valid if RemoveGashesEnabled is true.
Type
Expression
Access
Read/Write
RemoveGashesEnabled
If this option is selected, gashes are removed. SmallFeatureSize for gashes is the maximum width of any gash to be removed.
Type
boolean
Access
Read/Write
RemoveSliverFacesEnabled
If this option is selected, sliver faces are removed. SmallFeatureSize for sliver faces is defined as the tolerance which is the width of the sliver face.
Type
boolean
Access
Read/Write
RemoveSmallEdgesEnabled
If this option is selected, small edges are removed. Small edges have a length less than specified by SmallFeatureSize.
Type
boolean
Access
Read/Write
RemoveSmallFacesEnabled
If this option is selected, small faces are removed. A small face is any face that fits within a sphere of a radius specified by SmallFeatureSize.
Type
boolean
Access
Read/Write
RemoveSpikesEnabled
If this option is selected, spikes are removed from the geometry part.
Type
boolean
Access
Read/Write
RepairTolerantEdgesEnabled
This option specifies whether the healing of tolerant edges, created during the removal of narrow features such as sliver faces, spikes and gashes, should be attempted.
Type
boolean
Access
Read/Write
SmallFeatureSize
This field specifies the radius of a sphere to be used to determine which small features will be removed.
Type
Expression
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.