SmoothCurveStringBuilder Class¶
-
class
NXOpen.Features.SmoothCurveStringBuilder¶ Bases:
NXOpen.Features.FeatureBuilderRepresents a
Features.SmoothCurveStringbuilderTo 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
AddFilletsReturns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AddFilletsParameters: 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
AngularThresholdReturns: Return type: NXOpen.ExpressionNew 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
CurveFitDataReturns: Return type: NXOpen.GeometricUtilities.CurveFitDataNew in version NX9.0.0.
License requirements: None.
CurveOptions¶
-
SmoothCurveStringBuilder.CurveOptions¶ Returns the curve options.
-------------------------------------Getter Method
Signature
CurveOptionsReturns: Return type: NXOpen.GeometricUtilities.CurveOptionsNew in version NX9.0.0.
License requirements: None.
Curves¶
-
SmoothCurveStringBuilder.Curves¶ Returns the curves to be made continuous.
-------------------------------------Getter Method
Signature
CurvesReturns: Return type: NXOpen.SectionNew in version NX9.0.0.
License requirements: None.
DistanceThreshold¶
-
SmoothCurveStringBuilder.DistanceThreshold¶ Returns the searching distance threshold when trying to connect curves.
-------------------------------------Getter Method
Signature
DistanceThresholdReturns: Return type: NXOpen.ExpressionNew in version NX9.0.0.
License requirements: None.
FixedCurves¶
-
SmoothCurveStringBuilder.FixedCurves¶ Returns the optional curves which are to remain fixed.
-------------------------------------Getter Method
Signature
FixedCurvesReturns: Return type: NXOpen.SelectCurveListNew 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
LevelTypeReturns: Return type: NXOpen.Features.SmoothCurveStringBuilderLevelTypesNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LevelTypeParameters: 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
MergeTypeReturns: Return type: NXOpen.Features.SmoothCurveStringBuilderMergeTypesNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MergeTypeParameters: 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
RadiusReturns: Return type: NXOpen.ExpressionNew in version NX9.0.0.
License requirements: None.
SupportFaces¶
-
SmoothCurveStringBuilder.SupportFaces¶ Returns the optional support faces.
-------------------------------------Getter Method
Signature
SupportFacesReturns: Return type: NXOpen.ScCollectorNew in version NX9.0.0.
License requirements: None.
Tolerance¶
-
SmoothCurveStringBuilder.Tolerance¶ Returns the maximum lateral deviation between input and output.
-------------------------------------Getter Method
Signature
ToleranceReturns: Return type: NXOpen.ExpressionNew 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
TypeReturns: Return type: NXOpen.Features.SmoothCurveStringBuilderTypesNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TypeParameters: 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.