ClosedCornerBuilder Class

class NXOpen.Features.SheetMetal.ClosedCornerBuilder

Bases: NXOpen.Features.FeatureBuilder

Represents a Closed corner feature builder.

To create a new instance of this class, use NXOpen.Features.SheetMetal.SheetmetalManager.CreateClosedCornerFeatureBuilder()

New in version NX5.0.0.

Properties

Property Description
BlendMiter Returns or sets the option for smooth transition from miter to cutout edges.
ClosureType Returns or sets the closure type
Diameter Returns the diameter.
Gap Returns the gap.
MiterCorner Returns or sets the corner will be closed using the miter algorithm.
Offset Returns the value by which relief origin will be offset
Origin Returns or sets the default origin will be at the corner point instead of the intersection of bend centerlines.
Overlap Returns the overlap.
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
RectangularLength Returns the length of rectangular relief.
RectangularWidth Returns the width of rectangular relief.
SurroundingPatchSurfaceFilename Returns or sets the surrounding patch surface filename
Tag Returns the Tag for this object.
TreatmentType Returns or sets the treatment type
Type Returns or sets the feature type
VAngle1 Returns the angle1 of V relief.
VAngle2 Returns the angle2 of V relief.

Methods

Method Description
AddFacePair Add a face pair.
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 Return the face pair.
GetFeature Returns the feature currently being edited by this builder.
GetNumberOfFacePairs Returns the number of face pairs already identified for the three bend corner feature.
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.
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 Validates the builder data.

Enumerations

ClosedCornerBuilderClosureTypeOptions Enumeration This enum represents Corner Closure type
ClosedCornerBuilderOriginTypes Enumeration This enum represents Origin type
ClosedCornerBuilderTreatmentTypeOptions Enumeration This enum represents Corner treatment type
ClosedCornerBuilderTypes Enumeration This enum represents the feature types.

Property Detail

BlendMiter

ClosedCornerBuilder.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 NX8.5.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

-------------------------------------

Setter Method

Signature BlendMiter

Parameters:blendMiter (bool) –

New in version NX8.5.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

ClosureType

ClosedCornerBuilder.ClosureType

Returns or sets the closure type

-------------------------------------

Getter Method

Signature ClosureType

Returns:The type of closure specified for the corner
Return type:NXOpen.Features.SheetMetal.ClosedCornerBuilderClosureTypeOptions

New in version NX5.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

-------------------------------------

Setter Method

Signature ClosureType

Parameters:closureType (NXOpen.Features.SheetMetal.ClosedCornerBuilderClosureTypeOptions) – The type of closure specified for the corner

New in version NX5.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

Diameter

ClosedCornerBuilder.Diameter

Returns the diameter.

-------------------------------------

Getter Method

Signature Diameter

Returns:The diameter for relief
Return type:NXOpen.Expression

New in version NX6.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

Gap

ClosedCornerBuilder.Gap

Returns the gap.

-------------------------------------

Getter Method

Signature Gap

Returns:The gap.
Return type:NXOpen.Expression

New in version NX6.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

MiterCorner

ClosedCornerBuilder.MiterCorner

Returns or sets the corner will be closed using the miter algorithm.

-------------------------------------

Getter Method

Signature MiterCorner

Returns:
Return type:bool

New in version NX7.5.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

-------------------------------------

Setter Method

Signature MiterCorner

Parameters:miterCorner (bool) –

New in version NX7.5.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

Offset

ClosedCornerBuilder.Offset

Returns the value by which relief origin will be offset

-------------------------------------

Getter Method

Signature Offset

Returns:The Offset
Return type:NXOpen.Expression

New in version NX6.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

Origin

ClosedCornerBuilder.Origin

Returns or sets the default origin will be at the corner point instead of the intersection of bend centerlines.

-------------------------------------

Getter Method

Signature Origin

Returns:The default location of relief origin
Return type:NXOpen.Features.SheetMetal.ClosedCornerBuilderOriginTypes

New in version NX6.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

-------------------------------------

Setter Method

Signature Origin

Parameters:originType (NXOpen.Features.SheetMetal.ClosedCornerBuilderOriginTypes) – The default location of relief origin

New in version NX6.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

Overlap

ClosedCornerBuilder.Overlap

Returns the overlap.

-------------------------------------

Getter Method

Signature Overlap

Returns:The overlap
Return type:NXOpen.Expression

New in version NX6.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

RectangularLength

ClosedCornerBuilder.RectangularLength

Returns the length of rectangular relief.

The length is associated to the first bend selected.

-------------------------------------

Getter Method

Signature RectangularLength

Returns:The Length
Return type:NXOpen.Expression

New in version NX6.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

RectangularWidth

ClosedCornerBuilder.RectangularWidth

Returns the width of rectangular relief.

The width is associated to the second bend selected.

-------------------------------------

Getter Method

Signature RectangularWidth

Returns:The Width
Return type:NXOpen.Expression

New in version NX6.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

TreatmentType

ClosedCornerBuilder.TreatmentType

Returns or sets the treatment type

-------------------------------------

Getter Method

Signature TreatmentType

Returns:The type of treatment specified for the corner
Return type:NXOpen.Features.SheetMetal.ClosedCornerBuilderTreatmentTypeOptions

New in version NX5.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

-------------------------------------

Setter Method

Signature TreatmentType

Parameters:treatmentType (NXOpen.Features.SheetMetal.ClosedCornerBuilderTreatmentTypeOptions) – The type of treatment specified for the corner

New in version NX5.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

Type

ClosedCornerBuilder.Type

Returns or sets the feature type

-------------------------------------

Getter Method

Signature Type

Returns:
Return type:NXOpen.Features.SheetMetal.ClosedCornerBuilderTypes

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Type

Parameters:type (NXOpen.Features.SheetMetal.ClosedCornerBuilderTypes) –

New in version NX6.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

VAngle1

ClosedCornerBuilder.VAngle1

Returns the angle1 of V relief.

This is the angle associated with the first bend selected.

-------------------------------------

Getter Method

Signature VAngle1

Returns:The Angle1
Return type:NXOpen.Expression

New in version NX6.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

VAngle2

ClosedCornerBuilder.VAngle2

Returns the angle2 of V relief.

This is the angle associated to the second bend selected.

-------------------------------------

Getter Method

Signature VAngle2

Returns:The Angle2
Return type:NXOpen.Expression

New in version NX6.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

Method Detail

AddFacePair

ClosedCornerBuilder.AddFacePair

Add a face pair.

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 NX5.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

GetFacePair

ClosedCornerBuilder.GetFacePair

Return the face pair.

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 a NXOpen.Face. Second face of the face pair

New in version NX5.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

GetNumberOfFacePairs

ClosedCornerBuilder.GetNumberOfFacePairs

Returns the number of face pairs already identified for the three bend corner feature.

Signature GetNumberOfFacePairs()

Returns:The number of face pairs currently identified
Return type:int

New in version NX5.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

RemoveFacePair

ClosedCornerBuilder.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 NX5.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

Validate

ClosedCornerBuilder.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

ClosedCornerBuilder.ValidateBuilderData

Validates the builder data.

Signature ValidateBuilderData()

Returns:Returns 0 if the data in the builder is valid
Return type:int

New in version NX5.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)