SimplifyPartSettings
The simplify part settings.
Example
app = cf.GetApplication() project = app:NewProject() -- Enable and get the settings for simplifying parts when repairing geometry project.Geometry.Repair.RepairPartsSettings.SimplifyGeometryDuringCleaningEnabled = true simplifyPartsSettings = project.Geometry.Repair.RepairPartsSettings.SimplifyPartSettings -- Get the setting for the geometry replacement tolerance tolerance = simplifyPartsSettings.OperatingPrecisionTolerance -- Restore the default settings for 'RepairPartsSettings' project.Geometry.Repair.RepairPartsSettings:RestoreDefaults()
Usage locations (object properties)
The following objects have properties using the SimplifyPartSettings 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)
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