SmoothCurveStringBuilder Class

class NXOpen.Features.SmoothCurveStringBuilder

Bases: NXOpen.Features.FeatureBuilder

Represents a Features.SmoothCurveString builder

To create a new instance of this class, use NXOpen.Features.FreeformCurveCollection.CreateSmoothCurveStringBuilder()

Default values.

Property Value
AddFillets 0
AngularThreshold.Value 5
CurveFitData.CurveJoinMethod No
CurveFitData.Degree 7
CurveFitData.FitMethod DegreeAndSegments
CurveFitData.IsAdvancedFit 0
CurveFitData.IsAlignShape 0
CurveFitData.MaximumDegree 7
CurveFitData.MaximumSegments 1
CurveFitData.MinimumDegree 5
CurveFitData.Segments 1
LevelType G0
MergeType None
Radius.Value 5 (millimeters part), 0.2 (inches part)
Tolerance.Value 0.1 (millimeters part), 0.005 (inches part)

New in version NX9.0.0.

Properties

Property Description
AddFillets Returns or sets a flag to add transition fillets to sharp edges with a specified radius.
AngularThreshold Returns the angular threshold when trying to connect curves.
CurveFitData Returns the curve fitting for curves if the user specifies merge curves.
CurveOptions Returns the curve options.
Curves Returns the curves to be made continuous.
DistanceThreshold Returns the searching distance threshold when trying to connect curves.
FixedCurves Returns the optional curves which are to remain fixed.
LevelType Returns or sets the smoothing level of how continuous the output should be.
MergeType Returns or sets the curve types if any to merge after they are made continuous.
ParentFeatureInternal Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal
PatchSolutionFlag Returns or sets the patch solution flag
PatchSurfaceFilename Returns or sets the patch surface filename
Radius Returns the radius for transition fillets.
SupportFaces Returns the optional support faces.
SurroundingPatchSurfaceFilename Returns or sets the surrounding patch surface filename
Tag Returns the Tag for this object.
Tolerance Returns the maximum lateral deviation between input and output.
Type Returns or sets the type of input curves whether free or on surface.

Methods

Method Description
Commit Commits any edits that have been applied to the builder.
CommitFeature Commits the feature parameters and creates the feature
Destroy Deletes the builder, and cleans up any objects created by the builder.
GetCommittedObjects For builders that create more than one object, this method returns the objects that are created by commit.
GetFeature Returns the feature currently being edited by this builder.
GetObject Returns the object currently being edited by this builder.
HideInternalParentFeatureAfterEdit Re-suppress an internal parent feature (a slave feature) after it has been edited.
SetParentFeatureInternal Set the parent features which would be internal or slaves to the feature being created or commited
ShowInternalParentFeatureForEdit Unsuppress an internal parent feature (a slave feature) so it can be edited.
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
UnsetParentFeatureInternal Set the internal parent feature of the feature being edited to external
UpdateOnExpressionChange Updates when any expression in the function changes
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Enumerations

SmoothCurveStringBuilderLevelTypes Enumeration the smoothing levels.
SmoothCurveStringBuilderMergeTypes Enumeration the options to merge curves after being made continuous.
SmoothCurveStringBuilderTypes Enumeration the type of input curves.

Property Detail

AddFillets

SmoothCurveStringBuilder.AddFillets

Returns or sets a flag to add transition fillets to sharp edges with a specified radius.

-------------------------------------

Getter Method

Signature AddFillets

Returns:
Return type:bool

New in version NX9.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature AddFillets

Parameters:addFillets (bool) –

New in version NX9.0.0.

License requirements: studio_free_form (“STUDIO FREE FORM”)

AngularThreshold

SmoothCurveStringBuilder.AngularThreshold

Returns the angular threshold when trying to connect curves.

-------------------------------------

Getter Method

Signature AngularThreshold

Returns:
Return type:NXOpen.Expression

New in version NX9.0.0.

License requirements: None.

CurveFitData

SmoothCurveStringBuilder.CurveFitData

Returns the curve fitting for curves if the user specifies merge curves.

-------------------------------------

Getter Method

Signature CurveFitData

Returns:
Return type:NXOpen.GeometricUtilities.CurveFitData

New in version NX9.0.0.

License requirements: None.

CurveOptions

SmoothCurveStringBuilder.CurveOptions

Returns the curve options.

-------------------------------------

Getter Method

Signature CurveOptions

Returns:
Return type:NXOpen.GeometricUtilities.CurveOptions

New in version NX9.0.0.

License requirements: None.

Curves

SmoothCurveStringBuilder.Curves

Returns the curves to be made continuous.

-------------------------------------

Getter Method

Signature Curves

Returns:
Return type:NXOpen.Section

New in version NX9.0.0.

License requirements: None.

DistanceThreshold

SmoothCurveStringBuilder.DistanceThreshold

Returns the searching distance threshold when trying to connect curves.

-------------------------------------

Getter Method

Signature DistanceThreshold

Returns:
Return type:NXOpen.Expression

New in version NX9.0.0.

License requirements: None.

FixedCurves

SmoothCurveStringBuilder.FixedCurves

Returns the optional curves which are to remain fixed.

-------------------------------------

Getter Method

Signature FixedCurves

Returns:
Return type:NXOpen.SelectCurveList

New in version NX9.0.0.

License requirements: None.

LevelType

SmoothCurveStringBuilder.LevelType

Returns or sets the smoothing level of how continuous the output should be.

-------------------------------------

Getter Method

Signature LevelType

Returns:
Return type:NXOpen.Features.SmoothCurveStringBuilderLevelTypes

New in version NX9.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature LevelType

Parameters:level (NXOpen.Features.SmoothCurveStringBuilderLevelTypes) –

New in version NX9.0.0.

License requirements: studio_free_form (“STUDIO FREE FORM”)

MergeType

SmoothCurveStringBuilder.MergeType

Returns or sets the curve types if any to merge after they are made continuous.

-------------------------------------

Getter Method

Signature MergeType

Returns:
Return type:NXOpen.Features.SmoothCurveStringBuilderMergeTypes

New in version NX9.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature MergeType

Parameters:merge (NXOpen.Features.SmoothCurveStringBuilderMergeTypes) –

New in version NX9.0.0.

License requirements: studio_free_form (“STUDIO FREE FORM”)

Radius

SmoothCurveStringBuilder.Radius

Returns the radius for transition fillets.

-------------------------------------

Getter Method

Signature Radius

Returns:
Return type:NXOpen.Expression

New in version NX9.0.0.

License requirements: None.

SupportFaces

SmoothCurveStringBuilder.SupportFaces

Returns the optional support faces.

-------------------------------------

Getter Method

Signature SupportFaces

Returns:
Return type:NXOpen.ScCollector

New in version NX9.0.0.

License requirements: None.

Tolerance

SmoothCurveStringBuilder.Tolerance

Returns the maximum lateral deviation between input and output.

-------------------------------------

Getter Method

Signature Tolerance

Returns:
Return type:NXOpen.Expression

New in version NX9.0.0.

License requirements: None.

Type

SmoothCurveStringBuilder.Type

Returns or sets the type of input curves whether free or on surface.

-------------------------------------

Getter Method

Signature Type

Returns:
Return type:NXOpen.Features.SmoothCurveStringBuilderTypes

New in version NX9.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Type

Parameters:type (NXOpen.Features.SmoothCurveStringBuilderTypes) –

New in version NX9.0.0.

License requirements: studio_free_form (“STUDIO FREE FORM”)

Method Detail

UpdateOnExpressionChange

SmoothCurveStringBuilder.UpdateOnExpressionChange

Updates when any expression in the function changes

Signature UpdateOnExpressionChange()

New in version NX9.0.0.

License requirements: studio_free_form (“STUDIO FREE FORM”)

Validate

SmoothCurveStringBuilder.Validate

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

Signature Validate()

Returns:Was self validation successful
Return type:bool

New in version NX3.0.1.

License requirements: None.