GussetBuilder Class¶
-
class
NXOpen.Features.SheetMetal.
GussetBuilder
¶ Bases:
NXOpen.Features.FeatureBuilder
Represents a NX Sheet Metal
NXOpen.Features.Gusset
builderTo create a new instance of this class, use
NXOpen.Features.SheetMetal.SheetmetalManager.CreateGussetBuilder()
Default values.
Property Value CornerRadius.Value 1 (millimeters part), 0.05 (inches part) Depth.Value 10 (millimeters part), 1 (inches part) DieRadius.Value 2 (millimeters part), 0.1 (inches part) PlacementCount 2 PlacementDistance.Value 10 (millimeters part), 1 (inches part) PlacementSpacing.Value 20 (millimeters part), 2 (inches part) PlacementType Single PunchRadius.Value 2 (millimeters part), 0.1 (inches part) Shape Square SideAngle.Value 0 Width.Value 10 (millimeters part), 1 (inches part) WidthSide Side1 New in version NX7.5.0.
Properties¶
Property | Description |
---|---|
BendFace | Returns the bend face |
CornerRadius | Returns the corner radius |
DatumPlane | Returns or sets the plane of the gusset profile. |
Depth | Returns the depth |
DieRadius | Returns the die radius value of the sharp edges of the bottom face. |
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 |
PlacementCount | Returns or sets the placement count |
PlacementDistance | Returns the placement distance |
PlacementSpacing | Returns the placement spacing |
PlacementType | Returns or sets the placement type |
PunchRadius | Returns the punch radius value |
Section | Returns the section |
Shape | Returns or sets the shape |
SideAngle | Returns the side angle. |
StartEdge | Returns the start edge |
SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
Tag | Returns the Tag for this object. |
Type | Returns or sets the type of Gusset feature |
Width | Returns the width value for the Gusset |
WidthSide | Returns or sets the width side |
Methods¶
Method | Description |
---|---|
AlternateSolution | Cycles the available solutions when a user defined profile intersects the solid body. |
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. |
GetFeature | Returns the feature currently being edited by this builder. |
GetIsPreNx10 | Whether this is a pre-NX10 gusset. |
GetObject | Returns the object currently being edited by this builder. |
GetPlacementOriginAndDirection | Get the placement origin and direction. |
GetStartEdgeCandidates | Get the edges on the bend face that can be selected as Start Edge. |
HideInternalParentFeatureAfterEdit | Re-suppress an internal parent feature (a slave feature) after it has been edited. |
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. |
Enumerations¶
GussetBuilderPlacementTypes Enumeration | This enum represents the different options for placing an automatic profile Gusset. |
GussetBuilderShapes Enumeration | This enum represents the two different shapes for Gusset. |
GussetBuilderTypes Enumeration | This enum represents the two Gusset Feature types. |
GussetBuilderWidthSides Enumeration | This enum represents the different options for thickening the user defined profile Gusset. |
Property Detail¶
BendFace¶
-
GussetBuilder.
BendFace
¶ Returns the bend face
Selects the bend face along which the gusset is placed.
-------------------------------------
Getter Method
Signature
BendFace
Returns: Return type: NXOpen.SelectFace
New in version NX7.5.0.
License requirements: None.
CornerRadius¶
-
GussetBuilder.
CornerRadius
¶ Returns the corner radius
Only use this option to edit gussets created prior to NX10. From NX10 onwards, this is going to be automatically determined by adding the material thickness to the
NXOpen.Features.SheetMetal.GussetBuilder.PunchRadius()
This value is used only for theNXOpen.Features.SheetMetal.GussetBuilderShapes.Square
shape. The value must be greater than or equal to zero.-------------------------------------
Getter Method
Signature
CornerRadius
Returns: Return type: NXOpen.Expression
New in version NX7.5.0.
License requirements: None.
DatumPlane¶
-
GussetBuilder.
DatumPlane
¶ Returns or sets the plane of the gusset profile.
Returns the datum plane on the bend face that contains the profile of the automatic profile gusset.
-------------------------------------
Getter Method
Signature
DatumPlane
Returns: Return type: NXOpen.Plane
New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DatumPlane
Parameters: dPlane ( NXOpen.Plane
) –New in version NX10.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
Depth¶
-
GussetBuilder.
Depth
¶ Returns the depth
This value is used for the automatic profile Gussets. It represents the distance from the outer bend face of the selected bends along the bisector of the planar faces adjacent to the outer bend face.
-------------------------------------
Getter Method
Signature
Depth
Returns: Return type: NXOpen.Expression
New in version NX7.5.0.
License requirements: None.
DieRadius¶
-
GussetBuilder.
DieRadius
¶ Returns the die radius value of the sharp edges of the bottom face.
The value must be greater than or equal to zero.
-------------------------------------
Getter Method
Signature
DieRadius
Returns: Return type: NXOpen.Expression
New in version NX7.5.0.
License requirements: None.
PlacementCount¶
-
GussetBuilder.
PlacementCount
¶ Returns or sets the placement count
Only use this option to edit gussets created prior to NX10. Use patterns to create multiple gussets from NX10 onwards. This value is used if the
NXOpen.Features.SheetMetal.GussetBuilderPlacementTypes
is set toNXOpen.Features.SheetMetal.GussetBuilderPlacementTypes.Fit
orNXOpen.Features.SheetMetal.GussetBuilderPlacementTypes.Fixed
. It represents the number of occurances of the automatic profile Gusset to create on the selected bend face. The count must be greater than zero forNXOpen.Features.SheetMetal.GussetBuilderPlacementTypes.Fit
and greater than one forNXOpen.Features.SheetMetal.GussetBuilderPlacementTypes.Fixed
.-------------------------------------
Getter Method
Signature
PlacementCount
Returns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PlacementCount
Parameters: placementCount (int) – New in version NX7.5.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
PlacementDistance¶
-
GussetBuilder.
PlacementDistance
¶ Returns the placement distance
Only use this option to edit gussets created prior to NX10. Use
NXOpen.Features.SheetMetal.GussetBuilder.DatumPlane`()
to locate automatic profile gussets from NX10 onwards. If theNXOpen.Features.SheetMetal.GussetBuilderPlacementTypes
is set toNXOpen.Features.SheetMetal.GussetBuilderPlacementTypes.Single
, then this option represents the location of the automatic profile Gusset from one of the ends of the selected bend face. The distance is measured in a direction going from the start end to the other end. Users can specify which end of the selected bend face to use as the start.-------------------------------------
Getter Method
Signature
PlacementDistance
Returns: Return type: NXOpen.Expression
New in version NX7.5.0.
License requirements: None.
PlacementSpacing¶
-
GussetBuilder.
PlacementSpacing
¶ Returns the placement spacing
Only use this option to edit gussets created prior to NX10. Use patterns to create multiple gussets from NX10 onwards. This value is used if the
NXOpen.Features.SheetMetal.GussetBuilderPlacementTypes
is set toNXOpen.Features.SheetMetal.GussetBuilderPlacementTypes.Fill
orNXOpen.Features.SheetMetal.GussetBuilderPlacementTypes.Fixed
. It represents the spacing between the automatic profile Gussets to create on the selected bend face.-------------------------------------
Getter Method
Signature
PlacementSpacing
Returns: Return type: NXOpen.Expression
New in version NX7.5.0.
License requirements: None.
PlacementType¶
-
GussetBuilder.
PlacementType
¶ Returns or sets the placement type
Only use this option to edit gussets created prior to NX10. Use patterns to create multiple gussets from NX10 onwards. Specify the Gusset placement option. See the description of
NXOpen.Features.SheetMetal.GussetBuilderPlacementTypes
elements for details.-------------------------------------
Getter Method
Signature
PlacementType
Returns: Return type: NXOpen.Features.SheetMetal.GussetBuilderPlacementTypes
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PlacementType
Parameters: placementType ( NXOpen.Features.SheetMetal.GussetBuilderPlacementTypes
) –New in version NX7.5.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
PunchRadius¶
-
GussetBuilder.
PunchRadius
¶ Returns the punch radius value
The application of the punch radius has changed from NX10 onwards, to ensure material thickness is constant in the gusset. See the legend in the gusset dialog for more information.
-------------------------------------
Getter Method
Signature
PunchRadius
Returns: Return type: NXOpen.Expression
New in version NX7.5.0.
License requirements: None.
Section¶
-
GussetBuilder.
Section
¶ Returns the section
This section object contains a planar set of connected curves that will be used to create a Gusset of type
NXOpen.Features.SheetMetal.GussetBuilderTypes.UserDefinedProfile
. This profile can be closed or open. If it is open, then the end points can touch face(s). The profile must not intersect the solid body. If an open profile does not intersect or touch any face, each end will be extended until it touches a face.-------------------------------------
Getter Method
Signature
Section
Returns: Return type: NXOpen.Section
New in version NX7.5.0.
License requirements: None.
Shape¶
-
GussetBuilder.
Shape
¶ Returns or sets the shape
See
NXOpen.Features.SheetMetal.GussetBuilderShapes
for details.-------------------------------------
Getter Method
Signature
Shape
Returns: Return type: NXOpen.Features.SheetMetal.GussetBuilderShapes
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Shape
Parameters: shape ( NXOpen.Features.SheetMetal.GussetBuilderShapes
) –New in version NX7.5.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
SideAngle¶
-
GussetBuilder.
SideAngle
¶ Returns the side angle.
The value must be greater than or equal to zero.
-------------------------------------
Getter Method
Signature
SideAngle
Returns: Return type: NXOpen.Expression
New in version NX7.5.0.
License requirements: None.
StartEdge¶
-
GussetBuilder.
StartEdge
¶ Returns the start edge
Only use this option to edit gussets created prior to NX10. Use
NXOpen.Features.SheetMetal.GussetBuilder.DatumPlane`()
to locate automatic profile gussets from NX10 onwards. Selects the edge on the bend face to determine the gusset offset direction.-------------------------------------
Getter Method
Signature
StartEdge
Returns: Return type: NXOpen.SelectEdge
New in version NX7.5.0.
License requirements: None.
Type¶
-
GussetBuilder.
Type
¶ Returns or sets the type of Gusset feature
-------------------------------------
Getter Method
Signature
Type
Returns: Return type: NXOpen.Features.SheetMetal.GussetBuilderTypes
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Type
Parameters: type ( NXOpen.Features.SheetMetal.GussetBuilderTypes
) –New in version NX7.5.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
Width¶
-
GussetBuilder.
Width
¶ Returns the width value for the Gusset
-------------------------------------
Getter Method
Signature
Width
Returns: Return type: NXOpen.Expression
New in version NX7.5.0.
License requirements: None.
WidthSide¶
-
GussetBuilder.
WidthSide
¶ Returns or sets the width side
Defines the side of the profile to which material should be added or from which material should be removed to construct the feature.
The side option is not required when the profile is closed.
-------------------------------------
Getter Method
Signature
WidthSide
Returns: Return type: NXOpen.Features.SheetMetal.GussetBuilderWidthSides
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
WidthSide
Parameters: widthSide ( NXOpen.Features.SheetMetal.GussetBuilderWidthSides
) –New in version NX7.5.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
Method Detail¶
AlternateSolution¶
-
GussetBuilder.
AlternateSolution
¶ Cycles the available solutions when a user defined profile intersects the solid body.
If there is only one working solution then it will be automatically selected and this method will not do anything.
Signature
AlternateSolution()
New in version NX7.5.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”)
GetIsPreNx10¶
-
GussetBuilder.
GetIsPreNx10
¶ Whether this is a pre-NX10 gusset.
Use this to determine whether the gusset is created prior to NX10.
Signature
GetIsPreNx10()
Returns: Return type: bool New in version NX10.0.0.
License requirements: None.
GetPlacementOriginAndDirection¶
-
GussetBuilder.
GetPlacementOriginAndDirection
¶ Get the placement origin and direction.
Only use this option to edit gussets created prior to NX10. Use
NXOpen.Features.SheetMetal.GussetBuilder.DatumPlane`()
to locate automatic profile gussets from NX10 onwards. Get the point from which the placement distance will be measured and the direction along which the positive distance is defined.Signature
GetPlacementOriginAndDirection()
Returns: a tuple Return type: A tuple consisting of (direction, origin). direction is a NXOpen.Vector3d
. Direction along which the placement distance is measured. origin is aNXOpen.Point3d
. Start point from which placement distance is measured.New in version NX7.5.0.
License requirements: None.
GetStartEdgeCandidates¶
-
GussetBuilder.
GetStartEdgeCandidates
¶ Get the edges on the bend face that can be selected as Start Edge.
Only use this option to edit gussets created prior to NX10. Use
NXOpen.Features.SheetMetal.GussetBuilder.DatumPlane`()
to locate automatic profile gussets from NX10 onwards. Get the edges on the bend face that can be selected as Start Edge. If there is no Bend Face, then no edges will be returned.Signature
GetStartEdgeCandidates()
Returns: An array of edges that are valid for selection as start edge Return type: list of NXOpen.Edge
New in version NX7.5.0.
License requirements: None.
Validate¶
-
GussetBuilder.
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.