RepairAndSewFacesSettings

A settings object for repairing and sewing geometry faces.

Example

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

    -- Get the settings for repairing and sewing faces

repairFacesSettings = project.Contents.Geometry.Repair.RepairAndSewFacesSettings

    -- Get the setting for the sew tolerance used for sewing the sheets

tolerance = repairFacesSettings.SewTolerance

Inheritance

The RepairAndSewFacesSettings object is derived from the Object object.

Usage locations

The RepairAndSewFacesSettings object can be accessed from the following locations:

Property List

AngularTolerance
The tangent change angle in degrees above which G1 discontinuities will be removed by splitting rather than smoothing. (Read/Write ParametricExpression)
Label
The object label. (Read/Write string)
ReplaceMissingGeometryEnabled
If this option is selected, the tool will attempt to generate surface geometry for faces that will cap holes in the resulting body. (Read/Write boolean)
SewTolerance
The tolerance to be used when sewing the sheets. (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

AngularTolerance
The tangent change angle in degrees above which G1 discontinuities will be removed by splitting rather than smoothing.
Type
ParametricExpression
Access
Read/Write
Label
The object label.
Type
string
Access
Read/Write
ReplaceMissingGeometryEnabled
If this option is selected, the tool will attempt to generate surface geometry for faces that will cap holes in the resulting body.
Type
boolean
Access
Read/Write
SewTolerance
The tolerance to be used when sewing the sheets.
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.