NX Open C++ Reference Guide
|
Represents a @link Features::SmoothCurveString Features::SmoothCurveString@endlink builder <br> To create a new instance of this class, use @link Features::FreeformCurveCollection::CreateSmoothCurveStringBuilder Features::FreeformCurveCollection::CreateSmoothCurveStringBuilder @endlink <br>
Default values. More...
Public Types | |
enum | LevelTypes { LevelTypesG0, LevelTypesG1, LevelTypesG2 } |
the smoothing levels. More... | |
enum | MergeTypes { MergeTypesNone, MergeTypesSameTypes, MergeTypesAllCurves } |
the options to merge curves after being made continuous. More... | |
enum | Types { TypesFreeCurves, TypesCurvesOnSurfaces } |
the type of input curves. More... | |
Public Member Functions | |
bool | AddFillets () |
Returns a flag to add transition fillets to sharp edges with a specified radius. | |
NXOpen::Expression * | AngularThreshold () |
Returns the angular threshold when trying to connect curves. | |
NXOpen::GeometricUtilities::CurveFitData * | CurveFitData () |
Returns the curve fitting for curves if the user specifies merge curves. | |
NXOpen::GeometricUtilities::CurveOptions * | CurveOptions () |
Returns the curve options. | |
NXOpen::Section * | Curves () |
Returns the curves to be made continuous. | |
NXOpen::Expression * | DistanceThreshold () |
Returns the searching distance threshold when trying to connect curves. | |
NXOpen::SelectCurveList * | FixedCurves () |
Returns the optional curves which are to remain fixed. | |
NXOpen::Features::SmoothCurveStringBuilder::LevelTypes | LevelType () |
Returns the smoothing level of how continuous the output should be. | |
NXOpen::Features::SmoothCurveStringBuilder::MergeTypes | MergeType () |
Returns the curve types if any to merge after they are made continuous. | |
NXOpen::Expression * | Radius () |
Returns the radius for transition fillets. | |
void | SetAddFillets (bool addFillets) |
Sets a flag to add transition fillets to sharp edges with a specified radius. | |
void | SetLevelType (NXOpen::Features::SmoothCurveStringBuilder::LevelTypes level) |
Sets the smoothing level of how continuous the output should be. | |
void | SetMergeType (NXOpen::Features::SmoothCurveStringBuilder::MergeTypes merge) |
Sets the curve types if any to merge after they are made continuous. | |
void | SetType (NXOpen::Features::SmoothCurveStringBuilder::Types type) |
Sets the type of input curves whether free or on surface. | |
NXOpen::ScCollector * | SupportFaces () |
Returns the optional support faces. | |
NXOpen::Expression * | Tolerance () |
Returns the maximum lateral deviation between input and output. | |
NXOpen::Features::SmoothCurveStringBuilder::Types | Type () |
Returns the type of input curves whether free or on surface. | |
void | UpdateOnExpressionChange () |
Updates when any expression in the function changes Created in NX9.0.0. | |
![]() | |
NXOpen::Features::Feature * | CommitFeature () |
Commits the feature parameters and creates the feature. | |
NXOpen::Features::Feature * | GetFeature () |
Returns the feature currently being edited by this builder. | |
void | HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature) |
Re-suppress an internal parent feature (a slave feature) after it has been edited. | |
bool | ParentFeatureInternal () |
Returns whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. | |
bool | PatchSolutionFlag () |
Returns the patch solution flag Created in NX8.0.1. | |
NXString | PatchSurfaceFilename () |
Returns the patch surface filename Created in NX8.0.1. | |
void | SetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
Set the parent features which would be internal or slaves to the feature being created or commited Created in NX6.0.0. | |
void | SetParentFeatureInternal (bool isInternal) |
Sets whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. | |
void | SetPatchSolutionFlag (bool optionValue) |
Sets the patch solution flag Created in NX8.0.1. | |
void | SetPatchSurfaceFilename (const NXString &surfaceFilename) |
Sets the patch surface filename Created in NX8.0.1. | |
void | SetPatchSurfaceFilename (const char *surfaceFilename) |
Sets the patch surface filename Created in NX8.0.1. | |
void | SetSurroundingPatchSurfaceFilename (const NXString &surroundingSurfaceFilename) |
Sets the surrounding patch surface filename Created in NX8.0.1. | |
void | SetSurroundingPatchSurfaceFilename (const char *surroundingSurfaceFilename) |
Sets the surrounding patch surface filename Created in NX8.0.1. | |
void | ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature) |
Unsuppress an internal parent feature (a slave feature) so it can be edited. | |
NXString | SurroundingPatchSurfaceFilename () |
Returns the surrounding patch surface filename Created in NX8.0.1. | |
void | UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
Set the internal parent feature of the feature being edited to external Created in NX6.0.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a @link Features::SmoothCurveString Features::SmoothCurveString@endlink builder <br> To create a new instance of this class, use @link Features::FreeformCurveCollection::CreateSmoothCurveStringBuilder Features::FreeformCurveCollection::CreateSmoothCurveStringBuilder @endlink <br>
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) |
Created in NX9.0.0.
bool NXOpen::Features::SmoothCurveStringBuilder::AddFillets | ( | ) |
Returns a flag to add transition fillets to sharp edges with a specified radius.
Created in NX9.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::SmoothCurveStringBuilder::AngularThreshold | ( | ) |
Returns the angular threshold when trying to connect curves.
Created in NX9.0.0.
License requirements : None
NXOpen::GeometricUtilities::CurveFitData* NXOpen::Features::SmoothCurveStringBuilder::CurveFitData | ( | ) |
Returns the curve fitting for curves if the user specifies merge curves.
Created in NX9.0.0.
License requirements : None
NXOpen::GeometricUtilities::CurveOptions* NXOpen::Features::SmoothCurveStringBuilder::CurveOptions | ( | ) |
Returns the curve options.
Created in NX9.0.0.
License requirements : None
NXOpen::Section* NXOpen::Features::SmoothCurveStringBuilder::Curves | ( | ) |
Returns the curves to be made continuous.
Created in NX9.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::SmoothCurveStringBuilder::DistanceThreshold | ( | ) |
Returns the searching distance threshold when trying to connect curves.
Created in NX9.0.0.
License requirements : None
NXOpen::SelectCurveList* NXOpen::Features::SmoothCurveStringBuilder::FixedCurves | ( | ) |
Returns the optional curves which are to remain fixed.
Created in NX9.0.0.
License requirements : None
NXOpen::Features::SmoothCurveStringBuilder::LevelTypes NXOpen::Features::SmoothCurveStringBuilder::LevelType | ( | ) |
Returns the smoothing level of how continuous the output should be.
Created in NX9.0.0.
License requirements : None
NXOpen::Features::SmoothCurveStringBuilder::MergeTypes NXOpen::Features::SmoothCurveStringBuilder::MergeType | ( | ) |
Returns the curve types if any to merge after they are made continuous.
Created in NX9.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::SmoothCurveStringBuilder::Radius | ( | ) |
Returns the radius for transition fillets.
Created in NX9.0.0.
License requirements : None
void NXOpen::Features::SmoothCurveStringBuilder::SetAddFillets | ( | bool | addFillets | ) |
Sets a flag to add transition fillets to sharp edges with a specified radius.
Created in NX9.0.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
addFillets | addfillets |
void NXOpen::Features::SmoothCurveStringBuilder::SetLevelType | ( | NXOpen::Features::SmoothCurveStringBuilder::LevelTypes | level | ) |
Sets the smoothing level of how continuous the output should be.
Created in NX9.0.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
level | level |
void NXOpen::Features::SmoothCurveStringBuilder::SetMergeType | ( | NXOpen::Features::SmoothCurveStringBuilder::MergeTypes | merge | ) |
Sets the curve types if any to merge after they are made continuous.
Created in NX9.0.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
merge | merge |
void NXOpen::Features::SmoothCurveStringBuilder::SetType | ( | NXOpen::Features::SmoothCurveStringBuilder::Types | type | ) |
Sets the type of input curves whether free or on surface.
Created in NX9.0.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
type | type |
NXOpen::ScCollector* NXOpen::Features::SmoothCurveStringBuilder::SupportFaces | ( | ) |
Returns the optional support faces.
Created in NX9.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::SmoothCurveStringBuilder::Tolerance | ( | ) |
Returns the maximum lateral deviation between input and output.
Created in NX9.0.0.
License requirements : None
NXOpen::Features::SmoothCurveStringBuilder::Types NXOpen::Features::SmoothCurveStringBuilder::Type | ( | ) |
Returns the type of input curves whether free or on surface.
Created in NX9.0.0.
License requirements : None
void NXOpen::Features::SmoothCurveStringBuilder::UpdateOnExpressionChange | ( | ) |
Updates when any expression in the function changes
Created in NX9.0.0.
License requirements : studio_free_form ("STUDIO FREE FORM")