NX Open C++ Reference Guide
|
The Three Bend Corner feature class. More...
Public Types | |
enum | TreatmentTypeOptions { TreatmentTypeOptionsOpen, TreatmentTypeOptionsClosed, TreatmentTypeOptionsCircularCutout } |
This enum represents the corner treatment type. More... | |
Public Member Functions | |
void | AddFacePair (NXOpen::Face *firstFace, NXOpen::Face *secondFace) |
Input a bend face pair for the three bend corner feature. | |
NXOpen::Expression * | Diameter () |
Returns the diameter used for the circular cutout corner treatment. | |
void | GetFacePair (int index, NXOpen::Face **firstFace, NXOpen::Face **secondFace) |
Gets the bend face pair at the given index. | |
int | NumberOfFacePairs () |
Returns the number of face pairs already identified for the three bend corner feature. | |
void | RemoveFacePair (NXOpen::Face *firstFace, NXOpen::Face *secondFace) |
Removes a face pair (that represents a unique corner) from the list of face pairs already added. | |
void | SetDiameter (const NXString &diameter) |
The diameter used for the circular cutout corner treatment. | |
void | SetTreatmentType (NXOpen::Features::SheetMetal::ThreeBendCornerBuilder::TreatmentTypeOptions treatmentType) |
Sets the corner treatment type. | |
NXOpen::Features::SheetMetal::ThreeBendCornerBuilder::TreatmentTypeOptions | TreatmentType () |
Returns the corner treatment type. | |
int | ValidateBuilderData () |
Verify that the builder data is valid for creation of a three bend corner. |
The Three Bend Corner feature class.
Users can identify multiple input face pairs for each three bend corner feature. Each pair is made up of one face each from adjacent bends. The bends must both have the same radius and sweep angle, and they must also be connected via another adjoining bend.
To create a new instance of this class, use Features::SheetMetal::SheetmetalManager::CreateThreeBendCornerFeatureBuilder
Created in NX4.0.0.
void NXOpen::Features::SheetMetal::ThreeBendCornerBuilder::AddFacePair | ( | NXOpen::Face * | firstFace, |
NXOpen::Face * | secondFace | ||
) |
Input a bend face pair for the three bend corner feature.
This method can be called multiple times for a feature, with each bend face pair representing a unique corner.
Created in NX4.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal")
firstFace | A bend face from a bend |
secondFace | A bend face from an adjacent bend |
Returns the diameter used for the circular cutout corner treatment.
This only applies when the treatment type is set to Features::SheetMetal::ThreeBendCornerBuilder::TreatmentTypeOptionsCircularCutout .
Created in NX4.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal")
void NXOpen::Features::SheetMetal::ThreeBendCornerBuilder::GetFacePair | ( | int | index, |
NXOpen::Face ** | firstFace, | ||
NXOpen::Face ** | secondFace | ||
) |
Gets the bend face pair at the given index.
The index can vary between zero and one less than the value returned by Features::SheetMetal::ThreeBendCornerBuilder::NumberOfFacePairs .
Created in NX4.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal")
index | Index of the desired face pair |
firstFace | First face of the face pair |
secondFace | Second face of the face pair |
Returns the number of face pairs already identified for the three bend corner feature.
Created in NX4.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal")
void NXOpen::Features::SheetMetal::ThreeBendCornerBuilder::RemoveFacePair | ( | NXOpen::Face * | firstFace, |
NXOpen::Face * | secondFace | ||
) |
Removes a face pair (that represents a unique corner) from the list of face pairs already added.
Created in NX4.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal")
firstFace | A face from an already selected face pair |
secondFace | The other face from the face pair |
void NXOpen::Features::SheetMetal::ThreeBendCornerBuilder::SetDiameter | ( | const NXString & | diameter | ) |
The diameter used for the circular cutout corner treatment.
This only applies when the treatment type is set to Features::SheetMetal::ThreeBendCornerBuilder::TreatmentTypeOptionsCircularCutout .
Created in NX4.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal")
diameter | The diameter for the circular cutout corner treatment NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Features::SheetMetal::ThreeBendCornerBuilder::SetTreatmentType | ( | NXOpen::Features::SheetMetal::ThreeBendCornerBuilder::TreatmentTypeOptions | treatmentType | ) |
Sets the corner treatment type.
The Features::SheetMetal::ThreeBendCornerBuilder::TreatmentType and Features::SheetMetal::ThreeBendCornerBuilder::SetTreatmentType ) specifies how the corner should be treated. Valid options are in Features::SheetMetal::ThreeBendCornerBuilder::TreatmentTypeOptions .
Created in NX4.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal")
treatmentType | The type of treatment specified for the corner |
NXOpen::Features::SheetMetal::ThreeBendCornerBuilder::TreatmentTypeOptions NXOpen::Features::SheetMetal::ThreeBendCornerBuilder::TreatmentType | ( | ) |
Returns the corner treatment type.
The Features::SheetMetal::ThreeBendCornerBuilder::TreatmentType and Features::SheetMetal::ThreeBendCornerBuilder::SetTreatmentType ) specifies how the corner should be treated. Valid options are in Features::SheetMetal::ThreeBendCornerBuilder::TreatmentTypeOptions .
Created in NX4.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal")
Verify that the builder data is valid for creation of a three bend corner.
If the data in the builder is valid, the return value is 0