DrawnCutoutBuilder Class

class NXOpen.Features.SheetMetal.DrawnCutoutBuilder

Bases: NXOpen.Features.FeatureBuilder

Represents a Drawn Cutout feature builder.

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

New in version NX4.0.0.

Properties

Property Description
CornerRadius Returns the Radius to be applied for rounding the sharp section corners
CutoutDepth Returns the depth of the Drawn Cutout
DepthType Returns or sets the Direction in which the Drawn Cutout is punched.
FilletSectionCorners Returns or sets the Rounding Option for section Corners which contain Non Fillet Radii
IncludeRounding Returns or sets the Rounding type of the Sharp edges of bottom face and top face.
MinimumToolClearance Returns the minimum tool clearance expression.
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
RadiusOfDie Returns the Radius value of the sharp edges of the bottom face
Section Returns or sets the Section used by the Drawn Cutout.
SectionSide Returns or sets the section side for the Drawn Cutout.
SideAngle Returns the Side Angle used by the Drawn Cutout.
SidewallType Returns or sets the side where the material must be added to the Drawn Cutout.
Sketch Returns or sets the Slave Sketch used by the Drawn Cutout, If one exists.
SurroundingPatchSurfaceFilename Returns or sets the surrounding patch surface filename
Tag Returns the Tag for this object.

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.
SetCornerRadius  
SetCutoutDepth  
SetParentFeatureInternal Set the parent features which would be internal or slaves to the feature being created or commited
SetRadiusOfDie  
SetSideAngle  
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 whether the builder data is valid for creating a Drawn Cutout or not.

Enumerations

DrawnCutoutBuilderDepthTypeOptions Enumeration This enum represents the depth direction for the drawn cutout.
DrawnCutoutBuilderSectionSideOptions Enumeration This enum represents the side of the section that the drawn cutout punches material.
DrawnCutoutBuilderSidewallTypeOptions Enumeration The side walls material option.

Property Detail

CornerRadius

DrawnCutoutBuilder.CornerRadius

Returns the Radius to be applied for rounding the sharp section corners

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

Getter Method

Signature CornerRadius

Returns:
Return type:NXOpen.Expression

New in version NX5.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

CutoutDepth

DrawnCutoutBuilder.CutoutDepth

Returns the depth of the Drawn Cutout

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

Getter Method

Signature CutoutDepth

Returns:
Return type:NXOpen.Expression

New in version NX5.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

DepthType

DrawnCutoutBuilder.DepthType

Returns or sets the Direction in which the Drawn Cutout is punched.

This is used to specify the direction in which the punching should happen. If Punching must happen in the direction of the Section Normal (see NXOpen.Features.SheetMetal.DrawnCutoutBuilder.Section()) then pass the value of NXOpen.Features.SheetMetal.DrawnCutoutBuilderDepthTypeOptions.SectionNormalSide If punching must happen in the opposite direction to that of Section Normal, set the value to be NXOpen.Features.SheetMetal.DrawnCutoutBuilderDepthTypeOptions.SectionReverseNormalSide

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

Getter Method

Signature DepthType

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

New in version NX4.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

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

Setter Method

Signature DepthType

Parameters:depthType (NXOpen.Features.SheetMetal.DrawnCutoutBuilderDepthTypeOptions) –

New in version NX4.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

FilletSectionCorners

DrawnCutoutBuilder.FilletSectionCorners

Returns or sets the Rounding Option for section Corners which contain Non Fillet Radii

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

Getter Method

Signature FilletSectionCorners

Returns:
Return type:bool

New in version NX4.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

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

Setter Method

Signature FilletSectionCorners

Parameters:filletSectionCorners (bool) –

New in version NX4.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

IncludeRounding

DrawnCutoutBuilder.IncludeRounding

Returns or sets the Rounding type of the Sharp edges of bottom face and top face.

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

Getter Method

Signature IncludeRounding

Returns:
Return type:bool

New in version NX4.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

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

Setter Method

Signature IncludeRounding

Parameters:roundType (bool) –

New in version NX4.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

MinimumToolClearance

DrawnCutoutBuilder.MinimumToolClearance

Returns the minimum tool clearance expression.

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

Getter Method

Signature MinimumToolClearance

Returns:
Return type:NXOpen.Expression

New in version NX6.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

RadiusOfDie

DrawnCutoutBuilder.RadiusOfDie

Returns the Radius value of the sharp edges of the bottom face

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

Getter Method

Signature RadiusOfDie

Returns:
Return type:NXOpen.Expression

New in version NX5.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

Section

DrawnCutoutBuilder.Section

Returns or sets the Section used by the Drawn Cutout.

Section can be Open/Closed.

The section is protruded on the reference face at finite distance of extent and in the direction of extent side. The actual extent distance will be determined by the active dimension option i.e. Offset Dimension or Full Dimension. In case of Offset Dimension the actual extent distance will be offset dimension distance plus the thickness of sheet. In case of Full Dimension the actual extent distance will be the Full dimension distance. In case of open section, the end segments are extended to the nearest flat face edges. If the end segments are already crossing the flat face edges, those segments will be trimmed to the edges.

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

Getter Method

Signature Section

Returns:
Return type:NXOpen.Section

New in version NX4.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

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

Setter Method

Signature Section

Parameters:section (NXOpen.Section) –

New in version NX4.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

SectionSide

DrawnCutoutBuilder.SectionSide

Returns or sets the section side for the Drawn Cutout.

This is used to specify which side of the section should remain stationary during the drawn cutout operation. drawn cutout’s section is a set of connected curves. The material exists on both sides of the section curves. section Side specifies - the material on which side of the curve must be punched.The other side shall be bent to the specified angle with respect to this fixed side. This is how you calculate Left/Right. Get the Section Normal (N)Get the Tangent of the section.(T) Result = CrossProduct(N, T). The resultant vector is called RIGHT. This vector shall be in the direction of one if the two sides of the material.If you want the material on the side of Result to be punched, then you have to pass the value of NXOpen.Features.SheetMetal.DrawnCutoutBuilderSectionSideOptions.Right If you want the other side to be punched, then you have to send NXOpen.Features.SheetMetal.DrawnCutoutBuilderSectionSideOptions.Left.

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

Getter Method

Signature SectionSide

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

New in version NX4.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

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

Setter Method

Signature SectionSide

Parameters:sectionSide (NXOpen.Features.SheetMetal.DrawnCutoutBuilderSectionSideOptions) –

New in version NX4.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

SideAngle

DrawnCutoutBuilder.SideAngle

Returns the Side Angle used by the Drawn Cutout.

In case of a tapered drawn cutout, the side angle is applied on the side faces of the above-protruded section. The affects of side angle will always increases the cavity volume of the drawn cutout.

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

Getter Method

Signature SideAngle

Returns:
Return type:NXOpen.Expression

New in version NX5.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

SidewallType

DrawnCutoutBuilder.SidewallType

Returns or sets the side where the material must be added to the Drawn Cutout.

Done with Respect to the section

If NXOpen.Features.SheetMetal.DrawnCutoutBuilderSidewallTypeOptions.Inside is specified, the material of the drawn cutout sidewalls will be added to the interior of the section. If NXOpen.Features.SheetMetal.DrawnCutoutBuilderSidewallTypeOptions.Outside is specified,the material will be added from the lifted section such that the volume of the drawn cutout cavity is increased.

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

Getter Method

Signature SidewallType

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

New in version NX4.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

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

Setter Method

Signature SidewallType

Parameters:sidewallType (NXOpen.Features.SheetMetal.DrawnCutoutBuilderSidewallTypeOptions) –

New in version NX4.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

Sketch

DrawnCutoutBuilder.Sketch

Returns or sets the Slave Sketch used by the Drawn Cutout, If one exists.

If the Sketch is created internally as part of the Drawn Cutout command in the UI, then it shall be consumed by the Drawn Cutout and shall not show up as a separate feature in the Part Navigator. If such a behaviour is deired, then specify the Sketch here.

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

Getter Method

Signature Sketch

Returns:
Return type:NXOpen.Features.SketchFeature

New in version NX4.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

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

Setter Method

Signature Sketch

Parameters:sketch (NXOpen.Features.SketchFeature) –

New in version NX4.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

Method Detail

SetCornerRadius

DrawnCutoutBuilder.SetCornerRadius

Signature SetCornerRadius(cornerRadius)

Parameters:cornerRadius (str) –

New in version NX5.0.0.

Deprecated since version NX10.0.0: Use NXOpen.Expression.RightHandSide() on the NXOpen.Expression object returned from NXOpen.Features.SheetMetal.DrawnCutoutBuilder.CornerRadius() instead.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

SetCutoutDepth

DrawnCutoutBuilder.SetCutoutDepth

Signature SetCutoutDepth(depth)

Parameters:depth (str) –

New in version NX5.0.0.

Deprecated since version NX10.0.0: Use NXOpen.Expression.RightHandSide() on the NXOpen.Expression object returned from NXOpen.Features.SheetMetal.DrawnCutoutBuilder.CutoutDepth() instead.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

SetRadiusOfDie

DrawnCutoutBuilder.SetRadiusOfDie

Signature SetRadiusOfDie(dieRadius)

Parameters:dieRadius (str) –

New in version NX5.0.0.

Deprecated since version NX10.0.0: Use NXOpen.Expression.RightHandSide() on the NXOpen.Expression object returned from NXOpen.Features.SheetMetal.DrawnCutoutBuilder.RadiusOfDie() instead.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

SetSideAngle

DrawnCutoutBuilder.SetSideAngle

Signature SetSideAngle(sideAngle)

Parameters:sideAngle (str) –

New in version NX5.0.0.

Deprecated since version NX10.0.0: Use NXOpen.Expression.RightHandSide() on the NXOpen.Expression object returned from NXOpen.Features.SheetMetal.DrawnCutoutBuilder.SideAngle() instead.

License requirements: nx_sheet_metal (“NX Sheet Metal”)

Validate

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

DrawnCutoutBuilder.ValidateBuilderData

Verify whether the builder data is valid for creating a Drawn Cutout or not.

If the Builder data is valid, returned value shall be 0

Signature ValidateBuilderData()

Returns:Data Validity Flag.
Return type:int

New in version NX4.0.0.

License requirements: nx_sheet_metal (“NX Sheet Metal”)