ThreeBendCornerBuilder Class¶
-
class
NXOpen.Features.SheetMetal.
ThreeBendCornerBuilder
¶ Bases:
NXOpen.Features.FeatureBuilder
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
NXOpen.Features.SheetMetal.SheetmetalManager.CreateThreeBendCornerFeatureBuilder()
New in version NX4.0.0.
Properties¶
Property | Description |
---|---|
BlendMiter | Returns or sets the option for smooth transition from miter to cutout edges. |
BlendMiterRadius | Returns the blend miter radius used for three bend corner miter treatment. |
Diameter | Returns the diameter used for circular, u and v cutout corner treatments. |
FlangeClearance | Returns the flange clearance used for three bend corner miter treatment. |
MiterCorner | Returns or sets whether the corner will be closed using miter. |
MiterRootRadius | Returns the miter root radius used for three bend corner miter treatment. |
NumberOfFacePairs | Returns the number of face pairs already identified for the three bend corner feature. |
Offset | Returns the offset used for circular, u and v cutout corner treatments. |
OriginType | Returns or sets the relief origin used for circular, u and v cutout corner treatments. |
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 |
SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
Tag | Returns the Tag for this object. |
TreatmentType | Returns or sets the corner treatment type. |
VCutoutAngle1 | Returns the angle 1 used for the v cutout treatment. |
VCutoutAngle2 | Returns the angle 2 used for the v cutout treatment. |
Methods¶
Method | Description |
---|---|
AddFacePair | Input a bend face pair for the three bend corner feature. |
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. |
GetFacePair | Gets the bend face pair at the given index. |
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. |
RemoveFacePair | Removes a face pair (that represents a unique corner) from the list of face pairs already added. |
SetDiameter | The diameter used for the circular cutout corner treatment. |
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 |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
ValidateBuilderData | Verify that the builder data is valid for creation of a three bend corner. |
Enumerations¶
ThreeBendCornerBuilderOriginTypes Enumeration | This enum represents Origin type |
ThreeBendCornerBuilderTreatmentTypeOptions Enumeration | This enum represents the corner treatment type. |
Property Detail¶
BlendMiter¶
-
ThreeBendCornerBuilder.
BlendMiter
¶ Returns or sets the option for smooth transition from miter to cutout edges.
-------------------------------------
Getter Method
Signature
BlendMiter
Returns: Return type: bool New in version NX9.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
-------------------------------------
Setter Method
Signature
BlendMiter
Parameters: blendMiter (bool) – New in version NX9.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
BlendMiterRadius¶
-
ThreeBendCornerBuilder.
BlendMiterRadius
¶ Returns the blend miter radius used for three bend corner miter treatment.
This only applies when the treatment type is set to
NXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.Closed
orNXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.CircularCutout
orNXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.UCutout
orNXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.VCutout
.-------------------------------------
Getter Method
Signature
BlendMiterRadius
Returns: The blend miter radius for the three bend corner miter treatment Return type: NXOpen.Expression
New in version NX9.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
Diameter¶
-
ThreeBendCornerBuilder.
Diameter
¶ Returns the diameter used for circular, u and v cutout corner treatments.
This only applies when the treatment type is set to
NXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.CircularCutout
orNXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.UCutout
orNXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.VCutout
.-------------------------------------
Getter Method
Signature
Diameter
Returns: The diameter for the circular cutout corner treatment Return type: NXOpen.Expression
New in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
FlangeClearance¶
-
ThreeBendCornerBuilder.
FlangeClearance
¶ Returns the flange clearance used for three bend corner miter treatment.
This only applies when the treatment type is set to
NXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.Open
orNXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.Closed
orNXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.CircularCutout
orNXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.UCutout
orNXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.VCutout
.-------------------------------------
Getter Method
Signature
FlangeClearance
Returns: The flange clearance for the three bend corner miter treatment Return type: NXOpen.Expression
New in version NX9.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
MiterCorner¶
-
ThreeBendCornerBuilder.
MiterCorner
¶ Returns or sets whether the corner will be closed using miter.
-------------------------------------
Getter Method
Signature
MiterCorner
Returns: Return type: bool New in version NX9.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
-------------------------------------
Setter Method
Signature
MiterCorner
Parameters: miterCorner (bool) – New in version NX9.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
MiterRootRadius¶
-
ThreeBendCornerBuilder.
MiterRootRadius
¶ Returns the miter root radius used for three bend corner miter treatment.
This only applies when the treatment type is set to
NXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.Closed
.-------------------------------------
Getter Method
Signature
MiterRootRadius
Returns: The miter root radius for the three bend corner miter treatment Return type: NXOpen.Expression
New in version NX9.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
NumberOfFacePairs¶
-
ThreeBendCornerBuilder.
NumberOfFacePairs
¶ Returns the number of face pairs already identified for the three bend corner feature.
-------------------------------------
Getter Method
Signature
NumberOfFacePairs
Returns: The number of face pairs currently identified Return type: int New in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
Offset¶
-
ThreeBendCornerBuilder.
Offset
¶ Returns the offset used for circular, u and v cutout corner treatments.
This only applies when the treatment type is set to
NXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.CircularCutout
orNXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.UCutout
orNXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.VCutout
.-------------------------------------
Getter Method
Signature
Offset
Returns: The offset for the circular/u/v cutout corner treatment Return type: NXOpen.Expression
New in version NX9.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
OriginType¶
-
ThreeBendCornerBuilder.
OriginType
¶ Returns or sets the relief origin used for circular, u and v cutout corner treatments.
This only applies when the treatment type is set to
NXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.CircularCutout
orNXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.UCutout
orNXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.VCutout
.-------------------------------------
Getter Method
Signature
OriginType
Returns: The relief origin type Return type: NXOpen.Features.SheetMetal.ThreeBendCornerBuilderOriginTypes
New in version NX9.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
-------------------------------------
Setter Method
Signature
OriginType
Parameters: originType ( NXOpen.Features.SheetMetal.ThreeBendCornerBuilderOriginTypes
) – The relief origin typeNew in version NX9.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
TreatmentType¶
-
ThreeBendCornerBuilder.
TreatmentType
¶ Returns or sets the corner treatment type.
The
NXOpen.Features.SheetMetal.ThreeBendCornerBuilder.TreatmentType`()
) specifies how the corner should be treated. Valid options are inNXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions
.-------------------------------------
Getter Method
Signature
TreatmentType
Returns: The type of treatment specified for the corner Return type: NXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions
New in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
-------------------------------------
Setter Method
Signature
TreatmentType
Parameters: treatmentType ( NXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions
) – The type of treatment specified for the cornerNew in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
VCutoutAngle1¶
-
ThreeBendCornerBuilder.
VCutoutAngle1
¶ Returns the angle 1 used for the v cutout treatment.
This only applies when the treatment type is set to
NXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.VCutout
.-------------------------------------
Getter Method
Signature
VCutoutAngle1
Returns: The Angle 1 for the v cutout corner treatment Return type: NXOpen.Expression
New in version NX8.5.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
VCutoutAngle2¶
-
ThreeBendCornerBuilder.
VCutoutAngle2
¶ Returns the angle 2 used for the v cutout treatment.
This only applies when the treatment type is set to
NXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.VCutout
.-------------------------------------
Getter Method
Signature
VCutoutAngle2
Returns: The Angle 2 for the v cutout corner treatment Return type: NXOpen.Expression
New in version NX8.5.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
Method Detail¶
AddFacePair¶
-
ThreeBendCornerBuilder.
AddFacePair
¶ 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.
Signature
AddFacePair(firstFace, secondFace)
Parameters: - firstFace (
NXOpen.Face
) – A bend face from a bend - secondFace (
NXOpen.Face
) – A bend face from an adjacent bend
New in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
- firstFace (
GetFacePair¶
-
ThreeBendCornerBuilder.
GetFacePair
¶ Gets the bend face pair at the given index.
The index can vary between zero and one less than the value returned by
NXOpen.Features.SheetMetal.ThreeBendCornerBuilder.NumberOfFacePairs()
.Signature
GetFacePair(index)
Parameters: index (int) – Index of the desired face pair Returns: a tuple Return type: A tuple consisting of (firstFace, secondFace). firstFace is a NXOpen.Face
. First face of the face pair secondFace is aNXOpen.Face
. Second face of the face pairNew in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
RemoveFacePair¶
-
ThreeBendCornerBuilder.
RemoveFacePair
¶ Removes a face pair (that represents a unique corner) from the list of face pairs already added.
Signature
RemoveFacePair(firstFace, secondFace)
Parameters: - firstFace (
NXOpen.Face
) – A face from an already selected face pair - secondFace (
NXOpen.Face
) – The other face from the face pair
New in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
- firstFace (
SetDiameter¶
-
ThreeBendCornerBuilder.
SetDiameter
¶ The diameter used for the circular cutout corner treatment.
This only applies when the treatment type is set to
NXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.CircularCutout
orNXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.UCutout
orNXOpen.Features.SheetMetal.ThreeBendCornerBuilderTreatmentTypeOptions.VCutout
. .Signature
SetDiameter(diameter)
Parameters: diameter (str) – The diameter for the circular cutout corner treatment New in version NX4.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Expression.RightHandSide()
on theNXOpen.Expression
object returned fromNXOpen.Features.SheetMetal.ThreeBendCornerBuilder.Diameter()
instead.License requirements: nx_sheet_metal (“NX Sheet Metal”)
Validate¶
-
ThreeBendCornerBuilder.
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.
ValidateBuilderData¶
-
ThreeBendCornerBuilder.
ValidateBuilderData
¶ 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
Signature
ValidateBuilderData()
Returns: Returns 0 if the data in the builder is valid Return type: int New in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)