NX Open C++ Reference Guide
|
Represents a Features::StyledSweep builder
To create a new instance of this class, use Features::FeatureCollection::CreateStyledSweepBuilder
Default values.
More...
Public Types | |
enum | FixedStringOptions { FixedStringOptionsGuide, FixedStringOptionsSection, FixedStringOptionsGuideAndSection } |
This enum represents the Fixed String option. More... | |
enum | ScalingMethodOptions { ScalingMethodOptionsUniform, ScalingMethodOptionsNonuniform, ScalingMethodOptionsScalingCurve } |
This enum represents the Scaling Method option. More... | |
enum | SectionOrientationOptions { SectionOrientationOptionsTranslate, SectionOrientationOptionsKeepAngle, SectionOrientationOptionsMakeNormal, SectionOrientationOptionsUserDefined, SectionOrientationOptionsArcLength } |
This enum represents the Section Orientation option. More... | |
enum | TransitionOptions { TransitionOptionsLinear, TransitionOptionsCubic, TransitionOptionsBlend } |
This enum represents the Transition option. More... | |
enum | Types { TypesOneGuide, TypesOneGuideOneTouch, TypesOneGuideOneOrientation, TypesTwoGuides } |
This enum represents the sweep type option (Number of Guides) More... | |
Public Member Functions | |
int | AlternateSolution () |
Returns the alternate solution. | |
NXOpen::GeometricUtilities::StyledSweepDoubleOnPathDimBuilder * | CreatePivotSet (double value1, double value2, NXOpen::Curve *path1, NXOpen::Curve *path2) |
Creates a new pivot set. | |
NXOpen::GeometricUtilities::RotationSetBuilder * | CreateRotationSet (double value, double pathPar, NXOpen::Curve *path) |
Creates a new rotation set. | |
NXOpen::GeometricUtilities::ScalingSetBuilder * | CreateScalingSet (double valuePar, double depthPar, double pathPar, NXOpen::Curve *path) |
Creates a new scaling set. | |
void | EndInsertingSection () |
Ends inserting section. | |
NXOpen::Section * | FirstGuide () |
Returns the first guide Created in NX6.0.0. | |
NXOpen::Features::StyledSweepBuilder::FixedStringOptions | FixedStringOption () |
Returns the fixed string option Created in NX6.0.0. | |
double | G0Tolerance () |
Returns the G0 (Position) tolerance. | |
double | G1Tolerance () |
Returns the G1 (Tangent) tolerance. | |
NXOpen::GeometricUtilities::Rebuild * | GuideRebuildData () |
Returns the guide rebuild data Created in NX6.0.0. | |
NXOpen::SectionList * | InsertedSectionList () |
Returns the list of inserted sections Created in NX6.0.0. | |
NXOpen::GeometricUtilities::StyledSweepDoubleOnPathDimBuilderList * | PivotSetList () |
Returns the list of pivot sets Created in NX6.0.0. | |
NXOpen::GeometricUtilities::StyledSweepReferenceMethodBuilder * | ReferenceMethod () |
Returns the reference method Created in NX6.0.0. | |
NXOpen::GeometricUtilities::RotationSetBuilderList * | RotationSetList () |
Returns the list of rotation sets Created in NX6.0.0. | |
NXOpen::Section * | ScalingCurve () |
Returns the scaling curve Created in NX6.0.0. | |
NXOpen::Features::StyledSweepBuilder::ScalingMethodOptions | ScalingMethodOption () |
Returns the scaling method option Created in NX6.0.0. | |
NXOpen::GeometricUtilities::ScalingSetBuilderList * | ScalingSetList () |
Returns the list of scaling sets Created in NX6.0.0. | |
NXOpen::Section * | SecondGuide () |
Returns the second guide Created in NX6.0.0. | |
NXOpen::SectionList * | SectionList () |
Returns the list of sections. | |
NXOpen::Features::StyledSweepBuilder::SectionOrientationOptions | SectionOrientationOption () |
Returns the section orientation option Created in NX6.0.0. | |
NXOpen::GeometricUtilities::Rebuild * | SectionRebuildData () |
Returns the section rebuild data Created in NX6.0.0. | |
void | SetAlternateSolution (int alternateSolution) |
Sets the alternate solution. | |
void | SetFixedStringOption (NXOpen::Features::StyledSweepBuilder::FixedStringOptions fixedStringOption) |
Sets the fixed string option Created in NX6.0.0. | |
void | SetG0Tolerance (double g0Tolerance) |
Sets the G0 (Position) tolerance. | |
void | SetG1Tolerance (double g1Tolerance) |
Sets the G1 (Tangent) tolerance. | |
void | SetScalingMethodOption (NXOpen::Features::StyledSweepBuilder::ScalingMethodOptions scalingMethodOption) |
Sets the scaling method option Created in NX6.0.0. | |
void | SetSectionOrientationOption (NXOpen::Features::StyledSweepBuilder::SectionOrientationOptions sectionOrientationOption) |
Sets the section orientation option Created in NX6.0.0. | |
void | SetTransitionOption (NXOpen::Features::StyledSweepBuilder::TransitionOptions transitionOption) |
Sets the transition option Created in NX6.0.0. | |
void | SetType (NXOpen::Features::StyledSweepBuilder::Types type) |
Sets the sweep type Created in NX6.0.0. | |
void | StartInsertingSection (const std::vector< double > &insertPnt) |
Starts inserting section. | |
NXOpen::GeometricUtilities::SurfaceRangeBuilder * | SurfaceRange () |
Returns the surface range Created in NX6.0.0. | |
NXOpen::Features::StyledSweepBuilder::TransitionOptions | TransitionOption () |
Returns the transition option Created in NX6.0.0. | |
NXOpen::Features::StyledSweepBuilder::Types | Type () |
Returns the sweep type Created in NX6.0.0. |
Represents a Features::StyledSweep builder
To create a new instance of this class, use Features::FeatureCollection::CreateStyledSweepBuilder
Default values.
Property | Value |
---|---|
FixedStringOption |
Guide |
GuideRebuildData.Degree |
3 |
GuideRebuildData.RebuildType |
None |
ReferenceMethod.ReferenceOption |
ToGuide |
ScalingMethodOption |
Uniform |
SectionOrientationOption |
KeepAngle |
SectionRebuildData.Degree |
3 |
SectionRebuildData.RebuildType |
None |
SurfaceRange.AnchorPosition |
Vertex1 |
TransitionOption |
Blend |
Created in NX6.0.0.
This enum represents the Scaling Method option.
ScalingMethodOptionsUniform |
Uniform. |
ScalingMethodOptionsNonuniform |
Non-Uniform. |
ScalingMethodOptionsScalingCurve |
Scaling Curve. |
This enum represents the Section Orientation option.
SectionOrientationOptionsTranslate |
Translate. |
SectionOrientationOptionsKeepAngle |
Keep Angle. |
SectionOrientationOptionsMakeNormal |
Make Normal. |
SectionOrientationOptionsUserDefined |
User Defined. |
SectionOrientationOptionsArcLength |
Arc Length. |
Returns the alternate solution.
This property can be used only when Type is being set to 1 Guide/1 Guide 1 Touch/1 Guide 1 Orientation and orientation method is set to user_defined. For now, alternateSolution = 1, means automatically initial orientation, = 0, means no
Created in NX6.0.0.
License requirements : None
NXOpen::GeometricUtilities::StyledSweepDoubleOnPathDimBuilder* NXOpen::Features::StyledSweepBuilder::CreatePivotSet | ( | double | value1, |
double | value2, | ||
NXOpen::Curve * | path1, | ||
NXOpen::Curve * | path2 | ||
) |
Creates a new pivot set.
NXOpen::GeometricUtilities::RotationSetBuilder* NXOpen::Features::StyledSweepBuilder::CreateRotationSet | ( | double | value, |
double | pathPar, | ||
NXOpen::Curve * | path | ||
) |
Creates a new rotation set.
value | Rotation angle |
pathPar | Rotation position |
path | The path of on path dim |
NXOpen::GeometricUtilities::ScalingSetBuilder* NXOpen::Features::StyledSweepBuilder::CreateScalingSet | ( | double | valuePar, |
double | depthPar, | ||
double | pathPar, | ||
NXOpen::Curve * | path | ||
) |
Creates a new scaling set.
valuePar | Scaling value |
depthPar | Depth value |
pathPar | Depth position |
path | The path of on path dim |
Ends inserting section.
The client should call this API whenever he finishes inserting a section.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR studio_free_form ("STUDIO FREE FORM")
Returns the first guide
Created in NX6.0.0.
License requirements : None
NXOpen::Features::StyledSweepBuilder::FixedStringOptions NXOpen::Features::StyledSweepBuilder::FixedStringOption | ( | ) |
Returns the fixed string option
Created in NX6.0.0.
License requirements : None
Returns the G0 (Position) tolerance.
Created in NX6.0.0.
License requirements : None
Returns the G1 (Tangent) tolerance.
Created in NX6.0.0.
License requirements : None
Returns the guide rebuild data
Created in NX6.0.0.
License requirements : None
Returns the list of inserted sections
Created in NX6.0.0.
License requirements : None
NXOpen::GeometricUtilities::StyledSweepDoubleOnPathDimBuilderList* NXOpen::Features::StyledSweepBuilder::PivotSetList | ( | ) |
Returns the list of pivot sets
Created in NX6.0.0.
License requirements : None
NXOpen::GeometricUtilities::StyledSweepReferenceMethodBuilder* NXOpen::Features::StyledSweepBuilder::ReferenceMethod | ( | ) |
Returns the reference method
Created in NX6.0.0.
License requirements : None
NXOpen::GeometricUtilities::RotationSetBuilderList* NXOpen::Features::StyledSweepBuilder::RotationSetList | ( | ) |
Returns the list of rotation sets
Created in NX6.0.0.
License requirements : None
Returns the scaling curve
Created in NX6.0.0.
License requirements : None
NXOpen::Features::StyledSweepBuilder::ScalingMethodOptions NXOpen::Features::StyledSweepBuilder::ScalingMethodOption | ( | ) |
Returns the scaling method option
Created in NX6.0.0.
License requirements : None
NXOpen::GeometricUtilities::ScalingSetBuilderList* NXOpen::Features::StyledSweepBuilder::ScalingSetList | ( | ) |
Returns the list of scaling sets
Created in NX6.0.0.
License requirements : None
Returns the second guide
Created in NX6.0.0.
License requirements : None
Returns the list of sections.
At least 1 section is required.
Created in NX6.0.0.
License requirements : None
NXOpen::Features::StyledSweepBuilder::SectionOrientationOptions NXOpen::Features::StyledSweepBuilder::SectionOrientationOption | ( | ) |
Returns the section orientation option
Created in NX6.0.0.
License requirements : None
Returns the section rebuild data
Created in NX6.0.0.
License requirements : None
void NXOpen::Features::StyledSweepBuilder::SetAlternateSolution | ( | int | alternateSolution | ) |
Sets the alternate solution.
This property can be used only when Type is being set to 1 Guide/1 Guide 1 Touch/1 Guide 1 Orientation and orientation method is set to user_defined. For now, alternateSolution = 1, means automatically initial orientation, = 0, means no
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR studio_free_form ("STUDIO FREE FORM")
alternateSolution | alternatesolution |
void NXOpen::Features::StyledSweepBuilder::SetFixedStringOption | ( | NXOpen::Features::StyledSweepBuilder::FixedStringOptions | fixedStringOption | ) |
Sets the fixed string option
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR studio_free_form ("STUDIO FREE FORM")
fixedStringOption | fixedstringoption |
void NXOpen::Features::StyledSweepBuilder::SetG0Tolerance | ( | double | g0Tolerance | ) |
Sets the G0 (Position) tolerance.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR studio_free_form ("STUDIO FREE FORM")
g0Tolerance | g0tolerance |
void NXOpen::Features::StyledSweepBuilder::SetG1Tolerance | ( | double | g1Tolerance | ) |
Sets the G1 (Tangent) tolerance.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR studio_free_form ("STUDIO FREE FORM")
g1Tolerance | g1tolerance |
void NXOpen::Features::StyledSweepBuilder::SetScalingMethodOption | ( | NXOpen::Features::StyledSweepBuilder::ScalingMethodOptions | scalingMethodOption | ) |
Sets the scaling method option
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR studio_free_form ("STUDIO FREE FORM")
scalingMethodOption | scalingmethodoption |
void NXOpen::Features::StyledSweepBuilder::SetSectionOrientationOption | ( | NXOpen::Features::StyledSweepBuilder::SectionOrientationOptions | sectionOrientationOption | ) |
Sets the section orientation option
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR studio_free_form ("STUDIO FREE FORM")
sectionOrientationOption | sectionorientationoption |
void NXOpen::Features::StyledSweepBuilder::SetTransitionOption | ( | NXOpen::Features::StyledSweepBuilder::TransitionOptions | transitionOption | ) |
Sets the transition option
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR studio_free_form ("STUDIO FREE FORM")
transitionOption | transitionoption |
void NXOpen::Features::StyledSweepBuilder::SetType | ( | NXOpen::Features::StyledSweepBuilder::Types | type | ) |
Sets the sweep type
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR studio_free_form ("STUDIO FREE FORM")
type | type |
void NXOpen::Features::StyledSweepBuilder::StartInsertingSection | ( | const std::vector< double > & | insertPnt | ) |
Starts inserting section.
The client should call this API whenever he starts inserting a section. According to the insert point, the application automatically computes the closed point on the current surface, then extracts an iso curve to create a UG curve and add this curve into the section. Note: After the client calls this API, he needs to create a pivot set, a rotation set, a scaling set and a Section in turn, then he needs to insert them to the corresponding set list separately.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR studio_free_form ("STUDIO FREE FORM")
insertPnt | Insert point - the point on guide curve is better |
NXOpen::GeometricUtilities::SurfaceRangeBuilder* NXOpen::Features::StyledSweepBuilder::SurfaceRange | ( | ) |
Returns the surface range
Created in NX6.0.0.
License requirements : None
NXOpen::Features::StyledSweepBuilder::TransitionOptions NXOpen::Features::StyledSweepBuilder::TransitionOption | ( | ) |
Returns the transition option
Created in NX6.0.0.
License requirements : None
Returns the sweep type
Created in NX6.0.0.
License requirements : None