SimplifyPartRepresentationSettings

A settings object for simplifying part representation.

Example

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

    -- Get the settings for simplifying part representations
    
simplifyPartsSettings = project.Geometry.Repair.SimplifyPartRepresentationSettings

    -- Get the setting for the geometry replacement tolerance
    
tolerance = simplifyPartsSettings.OperatingPrecisionTolerance

Inheritance

The SimplifyPartRepresentationSettings object is derived from the RepairSettings object.

Usage locations (object properties)

The following objects have properties using the SimplifyPartRepresentationSettings object:

Property List

ConstrainSurfaceNormalsEnabled
The option to ensure that smooth edges will remain smooth. (Read/Write boolean)
ConvertSurfacesToBlends
The options to converting surfaces to blends. (Read/Write SimplifyPartRepresentationSimplifyBlendTypeEnum)
EdgeTolerance
The specified edge tolerance. Only valid if SpecifyEdgeTolerance is true. (Read/Write Expression)
MergeMultipleSPCurveSegmentsEnabled
The option to merge multiple surface parameter curve segments to a single segment. (Read/Write boolean)
OperatingPrecisionTolerance
The tolerance for replacement geometry. (Read/Write Expression)
ReduceAndTrimBGeometryEnabled
The option to trim or simplify high-degree B-surfaces to cubic B-surfaces. (Read/Write boolean)
SimplifyBCurvesEnabled
The option to simplify B-curves to lines, circles or ellipses. (Read/Write boolean)
SimplifyBSurfacesEnabled
The option to simplify B-surfaces to planes, cylinders, cones, spheres or tori where possible. (Read/Write boolean)
SimplifyRationalGeometryEnabled
The option to simplify rational B-surfaces to non-rational B-surfaces. (Read/Write boolean)
SimplifySPCurvesToConstantUVCurvesEnabled
The option to simplify surface parameter curves to be constant in one parameter (U or V). (Read/Write boolean)
SimplifySweptSpunSurfacesEnabled
The option to simplify swept or spun surfaces to planes, cylinders, cones, spheres or tori. (Read/Write boolean)
SpecifyEdgeToleranceEnabled
The option to specify the edge tolerance to be used. (Read/Write boolean)
SurfaceNormalTolerance
The angular tolerance for constraining surface normals (degrees). Only valid if ConstrainSurfaceNormals is true. (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

ConstrainSurfaceNormalsEnabled
The option to ensure that smooth edges will remain smooth.
Type
boolean
Access
Read/Write
ConvertSurfacesToBlends
The options to converting surfaces to blends.
Type
SimplifyPartRepresentationSimplifyBlendTypeEnum
Access
Read/Write
EdgeTolerance
The specified edge tolerance. Only valid if SpecifyEdgeTolerance is true.
Type
Expression
Access
Read/Write
MergeMultipleSPCurveSegmentsEnabled
The option to merge multiple surface parameter curve segments to a single segment.
Type
boolean
Access
Read/Write
OperatingPrecisionTolerance
The tolerance for replacement geometry.
Type
Expression
Access
Read/Write
ReduceAndTrimBGeometryEnabled
The option to trim or simplify high-degree B-surfaces to cubic B-surfaces.
Type
boolean
Access
Read/Write
SimplifyBCurvesEnabled
The option to simplify B-curves to lines, circles or ellipses.
Type
boolean
Access
Read/Write
SimplifyBSurfacesEnabled
The option to simplify B-surfaces to planes, cylinders, cones, spheres or tori where possible.
Type
boolean
Access
Read/Write
SimplifyRationalGeometryEnabled
The option to simplify rational B-surfaces to non-rational B-surfaces.
Type
boolean
Access
Read/Write
SimplifySPCurvesToConstantUVCurvesEnabled
The option to simplify surface parameter curves to be constant in one parameter (U or V).
Type
boolean
Access
Read/Write
SimplifySweptSpunSurfacesEnabled
The option to simplify swept or spun surfaces to planes, cylinders, cones, spheres or tori.
Type
boolean
Access
Read/Write
SpecifyEdgeToleranceEnabled
The option to specify the edge tolerance to be used.
Type
boolean
Access
Read/Write
SurfaceNormalTolerance
The angular tolerance for constraining surface normals (degrees). Only valid if ConstrainSurfaceNormals is true.
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.