NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Features::SmoothCurveStringBuilder Class Reference

Represents a Features::SmoothCurveString builder
To create a new instance of this class, use NXOpen::Features::FreeformCurveCollection::CreateSmoothCurveStringBuilder
Default values. More...

Inheritance diagram for NXOpen::Features::SmoothCurveStringBuilder:
NXOpen::Features::FeatureBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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. More...
 
NXOpen::ExpressionAngularThreshold ()
 Returns the angular threshold when trying to connect curves. More...
 
NXOpen::GeometricUtilities::CurveFitDataCurveFitData ()
 Returns the curve fitting for curves if the user specifies merge curves. More...
 
NXOpen::GeometricUtilities::CurveOptionsCurveOptions ()
 Returns the curve options. More...
 
NXOpen::SectionCurves ()
 Returns the curves to be made continuous. More...
 
NXOpen::ExpressionDistanceThreshold ()
 Returns the searching distance threshold when trying to connect curves. More...
 
NXOpen::SelectCurveListFixedCurves ()
 Returns the optional curves which are to remain fixed. More...
 
NXOpen::Features::SmoothCurveStringBuilder::LevelTypes LevelType ()
 Returns the smoothing level of how continuous the output should be. More...
 
NXOpen::Features::SmoothCurveStringBuilder::MergeTypes MergeType ()
 Returns the curve types if any to merge after they are made continuous. More...
 
NXOpen::ExpressionRadius ()
 Returns the radius for transition fillets. More...
 
void SetAddFillets (bool addFillets)
 Sets a flag to add transition fillets to sharp edges with a specified radius. More...
 
void SetLevelType (NXOpen::Features::SmoothCurveStringBuilder::LevelTypes level)
 Sets the smoothing level of how continuous the output should be. More...
 
void SetMergeType (NXOpen::Features::SmoothCurveStringBuilder::MergeTypes merge)
 Sets the curve types if any to merge after they are made continuous. More...
 
void SetType (NXOpen::Features::SmoothCurveStringBuilder::Types type)
 Sets the type of input curves whether free or on surface. More...
 
NXOpen::ScCollectorSupportFaces ()
 Returns the optional support faces. More...
 
NXOpen::ExpressionTolerance ()
 Returns the maximum lateral deviation between input and output. More...
 
NXOpen::Features::SmoothCurveStringBuilder::Types Type ()
 Returns the type of input curves whether free or on surface. More...
 
void UpdateOnExpressionChange ()
 Updates when any expression in the function changes
Created in NX9.0.0. More...
 
- Public Member Functions inherited from NXOpen::Features::FeatureBuilder
NXOpen::Features::FeatureCommitFeature ()
 Commits the feature parameters and creates the feature. More...
 
NXOpen::Features::FeatureGetFeature ()
 Returns the feature currently being edited by this builder. More...
 
void HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature)
 Re-suppress an internal parent feature (a slave feature) after it has been edited. More...
 
bool ParentFeatureInternal ()
 Returns whether or not the latest timestamped parent feature of this feature should be made internal
Created in NX5.0.0. More...
 
bool PatchSolutionFlag ()
 Returns the patch solution flag
Created in NX8.0.1. More...
 
NXString PatchSurfaceFilename ()
 Returns the patch surface filename
Created in NX8.0.1. More...
 
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. More...
 
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. More...
 
void SetPatchSolutionFlag (bool optionValue)
 Sets the patch solution flag
Created in NX8.0.1. More...
 
void SetPatchSurfaceFilename (const NXString &surfaceFilename)
 Sets the patch surface filename
Created in NX8.0.1. More...
 
void SetPatchSurfaceFilename (const char *surfaceFilename)
 Sets the patch surface filename
Created in NX8.0.1. More...
 
void SetSurroundingPatchSurfaceFilename (const NXString &surroundingSurfaceFilename)
 Sets the surrounding patch surface filename
Created in NX8.0.1. More...
 
void SetSurroundingPatchSurfaceFilename (const char *surroundingSurfaceFilename)
 Sets the surrounding patch surface filename
Created in NX8.0.1. More...
 
void ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature)
 Unsuppress an internal parent feature (a slave feature) so it can be edited. More...
 
NXString SurroundingPatchSurfaceFilename ()
 Returns the surrounding patch surface filename
Created in NX8.0.1. More...
 
void UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature)
 Set the internal parent feature of the feature being edited to external
Created in NX6.0.0. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

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)


Created in NX9.0.0.

Member Enumeration Documentation

the smoothing levels.

Enumerator
LevelTypesG0 

smoothing by position

LevelTypesG1 

smoothing by tangent

LevelTypesG2 

smoothing by curvature

the options to merge curves after being made continuous.

Enumerator
MergeTypesNone 

no merging of curves

MergeTypesSameTypes 

merge only spline curves

MergeTypesAllCurves 

merge all types of curves

the type of input curves.

Enumerator
TypesFreeCurves 

free curves

TypesCurvesOnSurfaces 

curves on surfaces

Member Function Documentation

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")

Parameters
addFilletsaddfillets
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")

Parameters
levellevel
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")

Parameters
mergemerge
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")

Parameters
typetype
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")


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.