BlendPocketBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# BlendPocketBuilder Class

class `NXOpen.Features.``BlendPocketBuilder`

  Bases: `NXOpen.Features.FeatureBuilder`

  Represents a `NXOpen.Features.BlendPocket` builder for Blend Pocket feature.

  To create a new instance of this class, use `NXOpen.Features.FeatureCollection.CreateBlendPocketBuilder()`

  Default values.

  Property | Value
  --- | ---
  AngledWallSolution | CutFloorAndSwarfCutWall
  AutoInferWall | true
  CornerClearance.Value | 0 (millimeters part), 0 (inches part)
  Diameter.Value | 25.0 (millimeters part), 1.0 (inches part)
  FluteLength.Value | 10.0 (millimeters part), 0.38 (inches part)
  LowerRadius.Value | 5.0 (millimeters part), 0.25 (inches part)
  NeckDiameter.Value | 25.0 (millimeters part), 1.0 (inches part)
  ToolType | EndMill
  UpperRadius.Value | 5.0 (millimeters part), 0.25 (inches part)

  New in version NX9.0.0.

# Properties

Property | Description
--- | ---
AngledWallSolution | Returns or sets the angled wall solution defines how the End Mill is positioned with angled walls.
AutoInferWall | Returns or sets the flag indicates whether infer the wall faces automatically.
CornerClearance | Returns the corner clearance defines the radius that the tool turns around at the concave wall corners.
Diameter | Returns the diameter defines the diameter of End Mill or Shperical Mill.
FloorFaces | Returns or sets the collector of floor faces.
FluteLength | Returns the flute length defines the length of the flute of T Cutter.
LowerRadius | Returns the lower radius defines the radius of blend on the bottom of End Mill or T Cutter.
NeckDiameter | Returns the neck diameter defines the diameter of the neck of T Cutter.
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.
ToolType | Returns or sets the tool type defines how the angled walls are cut.
UpperRadius | Returns the upper radius defines the radius of blend on the upper part of T Cutter.
WallFaces | Returns or sets the collector of wall faces.

# Methods

Method | Description
--- | ---
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.
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.
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

BlendPocketBuilderAngledWallSolutions Enumeration | Represents the solution which defines how the End Mill is positioned with the angled walls.
BlendPocketBuilderToolTypes Enumeration | Represents the tool type which defines how the angled walls are cut.

# Property Detail

## AngledWallSolution

`BlendPocketBuilder.``AngledWallSolution`

  Returns or sets the angled wall solution defines how the End Mill is positioned with angled walls.

  `-------------------------------------`

  Getter Method

  Signature `AngledWallSolution`

  Returns: |
  Return type: | `NXOpen.Features.BlendPocketBuilderAngledWallSolutions`

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `AngledWallSolution`

  Parameters: | angledWallSolution (`NXOpen.Features.BlendPocketBuilderAngledWallSolutions`) –

  New in version NX9.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## AutoInferWall

`BlendPocketBuilder.``AutoInferWall`

  Returns or sets the flag indicates whether infer the wall faces automatically.

  `-------------------------------------`

  Getter Method

  Signature `AutoInferWall`

  Returns: |
  Return type: | bool

  New in version NX10.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `AutoInferWall`

  Parameters: | autoInferWall (bool) –

  New in version NX10.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## CornerClearance

`BlendPocketBuilder.``CornerClearance`

  Returns the corner clearance defines the radius that the tool turns around at the concave wall corners.

  `-------------------------------------`

  Getter Method

  Signature `CornerClearance`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX9.0.0.

  License requirements: None.

## Diameter

`BlendPocketBuilder.``Diameter`

  Returns the diameter defines the diameter of End Mill or Shperical Mill.

  `-------------------------------------`

  Getter Method

  Signature `Diameter`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX9.0.0.

  License requirements: None.

## FloorFaces

`BlendPocketBuilder.``FloorFaces`

  Returns or sets the collector of floor faces.

  It can be a single face, or multiple faces

  `-------------------------------------`

  Getter Method

  Signature `FloorFaces`

  Returns: |
  Return type: | `NXOpen.ScCollector`

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `FloorFaces`

  Parameters: | floorFaces (`NXOpen.ScCollector`) –

  New in version NX9.0.0.

  License requirements: None.

## FluteLength

`BlendPocketBuilder.``FluteLength`

  Returns the flute length defines the length of the flute of T Cutter.

  `-------------------------------------`

  Getter Method

  Signature `FluteLength`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX9.0.0.

  License requirements: None.

## LowerRadius

`BlendPocketBuilder.``LowerRadius`

  Returns the lower radius defines the radius of blend on the bottom of End Mill or T Cutter.

  `-------------------------------------`

  Getter Method

  Signature `LowerRadius`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX9.0.0.

  License requirements: None.

## NeckDiameter

`BlendPocketBuilder.``NeckDiameter`

  Returns the neck diameter defines the diameter of the neck of T Cutter.

  `-------------------------------------`

  Getter Method

  Signature `NeckDiameter`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX9.0.0.

  License requirements: None.

## ToolType

`BlendPocketBuilder.``ToolType`

  Returns or sets the tool type defines how the angled walls are cut.

  `-------------------------------------`

  Getter Method

  Signature `ToolType`

  Returns: |
  Return type: | `NXOpen.Features.BlendPocketBuilderToolTypes`

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ToolType`

  Parameters: | toolType (`NXOpen.Features.BlendPocketBuilderToolTypes`) –

  New in version NX9.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## UpperRadius

`BlendPocketBuilder.``UpperRadius`

  Returns the upper radius defines the radius of blend on the upper part of T Cutter.

  `-------------------------------------`

  Getter Method

  Signature `UpperRadius`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX9.0.0.

  License requirements: None.

## WallFaces

`BlendPocketBuilder.``WallFaces`

  Returns or sets the collector of wall faces.

  It can be a single face, or multiple faces

  `-------------------------------------`

  Getter Method

  Signature `WallFaces`

  Returns: |
  Return type: | `NXOpen.ScCollector`

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `WallFaces`

  Parameters: | wallFaces (`NXOpen.ScCollector`) –

  New in version NX9.0.0.

  License requirements: None.

# Method Detail

## Validate

`BlendPocketBuilder.``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.