RemoveSmallFeaturesSettings
A settings object for removing small geometry features.
Example
application = cf.Application.GetInstance() project = application:NewProject() -- Get the settings for removing small geometry features smallFeatureSettings = project.Contents.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 Object object.
Usage locations
The RemoveSmallFeaturesSettings object can be accessed from the following locations:
- Properties
- GeometryRepair object has property RemoveSmallFeaturesSettings.
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 ParametricExpression)
- Label
- The object label. (Read/Write string)
- 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 ParametricExpression)
- 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
- GashAspectBound
- The maximum width to length ratio of any gash that is to be removed. Only valid if RemoveGashesEnabled is true.
- Type
- ParametricExpression
- Access
- Read/Write
- Label
- The object label.
- Type
- string
- 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
- ParametricExpression
- 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.