MiterOptions Class¶
-
class
NXOpen.Features.SheetMetal.MiterOptions¶ Bases:
NXOpen.TaggedObjectRepresents a Miter Data Options builder.
Mitre cut is essentially an end treatment to the contour flange feature, which shall prevent merging/interference with the existing or newly placed features in sheet metal. .. versionadded:: NX4.0.0
Properties¶
| Property | Description |
|---|---|
| BlendMiter | Returns or sets the option that specifies whether to blend the sharp edges created by the miter |
| ClosedCornerGap | Returns the corner gap used for a contour flange corner in case of a closed corner condition. |
| ClosedCornerType | Returns or sets the closed corner option type. |
| ClosedCornerVAngle1 | Returns the v cutout angle1 expression of the closed corner. |
| ClosedCornerVAngle2 | Returns the v cutout angle2 expression of the closed corner. |
| CornerTreatmentOffset | Returns the offset used for circular, u and v cutout corner treatments. |
| CornerTreatmentOriginType | Returns or sets the origin used for circular, u and v cutout corner treatments. |
| EndType | Returns or sets the miter end type. |
| MiterCorner | Returns or sets the miter toggle value that specifies whether to miter the corner. |
| MiterInteriorCornersIfNecessary | Returns or sets the miter_corners option. |
| MiterRootRadius | Returns the root radius used when mitering the corner. |
| Position | Returns or sets the position of miter. |
| StartType | Returns or sets the miter start type. |
| Tag | Returns the Tag for this object. |
| ThreeBendCornerFlangeClearance | Returns the flange clearance used for a contour flange corner in case of a three bend corner condition. |
| UseNormalCutoutMethod | Returns or sets the cut type of the sheet. |
Methods¶
| Method | Description |
|---|---|
| GetClosedCornerDiameter | The diameter expression of the closed corner. |
| GetEndValue | THE miter end value expression. |
| GetStartValue | THE miter start value expression. |
| SetClosedCornerDiameter | |
| SetEndValue | |
| SetStartValue |
Enumerations¶
| MiterOptionsClosedCornerTypeOptions Enumeration | the closed corner type options. |
| MiterOptionsCornerTreatmentOriginTypeOptions Enumeration | This enum represents corner treatment cutout origin type |
| MiterOptionsPositionOptions Enumeration | the miter positions options. |
| MiterOptionsTypeOptions Enumeration | the miter type options. |
Property Detail¶
BlendMiter¶
-
MiterOptions.BlendMiter¶ Returns or sets the option that specifies whether to blend the sharp edges created by the miter
-------------------------------------Getter Method
Signature
BlendMiterReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BlendMiterParameters: blendMiter (bool) – New in version NX11.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)
ClosedCornerGap¶
-
MiterOptions.ClosedCornerGap¶ Returns the corner gap used for a contour flange corner in case of a closed corner condition.
This applies for all treatment types in
Features.SheetMetal.MiterOptionsClosedCornerTypeOptions-------------------------------------Getter Method
Signature
ClosedCornerGapReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: None.
ClosedCornerType¶
-
MiterOptions.ClosedCornerType¶ Returns or sets the closed corner option type.
-------------------------------------Getter Method
Signature
ClosedCornerTypeReturns: Return type: NXOpen.Features.SheetMetal.MiterOptionsClosedCornerTypeOptionsNew in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ClosedCornerTypeParameters: cutType ( NXOpen.Features.SheetMetal.MiterOptionsClosedCornerTypeOptions) –New in version NX4.0.0.
License requirements: None.
ClosedCornerVAngle1¶
-
MiterOptions.ClosedCornerVAngle1¶ Returns the v cutout angle1 expression of the closed corner.
Applicable only when
NXOpen.Features.SheetMetal.MiterOptions.ClosedCornerTypeOptions()isFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.VCutout.-------------------------------------Getter Method
Signature
ClosedCornerVAngle1Returns: Return type: NXOpen.ExpressionNew in version NX8.5.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)
ClosedCornerVAngle2¶
-
MiterOptions.ClosedCornerVAngle2¶ Returns the v cutout angle2 expression of the closed corner.
Applicable only when
NXOpen.Features.SheetMetal.MiterOptions.ClosedCornerTypeOptions()isFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.VCutout.-------------------------------------Getter Method
Signature
ClosedCornerVAngle2Returns: Return type: NXOpen.ExpressionNew in version NX8.5.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)
CornerTreatmentOffset¶
-
MiterOptions.CornerTreatmentOffset¶ Returns the offset used for circular, u and v cutout corner treatments.
This only applies when the treatment type is set to
Features.SheetMetal.MiterOptionsClosedCornerTypeOptions.CircularCutoutorFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.UCutoutorFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.VCutout.-------------------------------------Getter Method
Signature
CornerTreatmentOffsetReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: None.
CornerTreatmentOriginType¶
-
MiterOptions.CornerTreatmentOriginType¶ Returns or sets the origin used for circular, u and v cutout corner treatments.
This only applies when the treatment type is set to
Features.SheetMetal.MiterOptionsClosedCornerTypeOptions.CircularCutoutorFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.UCutoutorFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.VCutout.-------------------------------------Getter Method
Signature
CornerTreatmentOriginTypeReturns: Return type: NXOpen.Features.SheetMetal.MiterOptionsCornerTreatmentOriginTypeOptionsNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CornerTreatmentOriginTypeParameters: originType ( NXOpen.Features.SheetMetal.MiterOptionsCornerTreatmentOriginTypeOptions) –New in version NX11.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)
EndType¶
-
MiterOptions.EndType¶ Returns or sets the miter end type.
-------------------------------------Getter Method
Signature
EndTypeReturns: Return type: NXOpen.Features.SheetMetal.MiterOptionsTypeOptionsNew in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
EndTypeParameters: endType ( NXOpen.Features.SheetMetal.MiterOptionsTypeOptions) –New in version NX4.0.0.
License requirements: None.
MiterCorner¶
-
MiterOptions.MiterCorner¶ Returns or sets the miter toggle value that specifies whether to miter the corner.
This only applies when the treatment type is set to
Features.SheetMetal.MiterOptionsClosedCornerTypeOptions.ClosedorFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.CircularCutoutorFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.UCutoutorFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.VCutout.-------------------------------------Getter Method
Signature
MiterCornerReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MiterCornerParameters: miterCorner (bool) – New in version NX11.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)
MiterInteriorCornersIfNecessary¶
-
MiterOptions.MiterInteriorCornersIfNecessary¶ Returns or sets the miter_corners option.
If set to true, it miter bend edges that are larger than default bend radius.
-------------------------------------Getter Method
Signature
MiterInteriorCornersIfNecessaryReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MiterInteriorCornersIfNecessaryParameters: miterCorners (bool) – New in version NX5.0.0.
License requirements: None.
MiterRootRadius¶
-
MiterOptions.MiterRootRadius¶ Returns the root radius used when mitering the corner.
This only applies when the treatment type is set to
Features.SheetMetal.MiterOptionsClosedCornerTypeOptions.ClosedorFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.CircularCutoutorFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.UCutoutorFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.VCutout.-------------------------------------Getter Method
Signature
MiterRootRadiusReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: None.
Position¶
-
MiterOptions.Position¶ Returns or sets the position of miter.
-------------------------------------Getter Method
Signature
PositionReturns: Return type: NXOpen.Features.SheetMetal.MiterOptionsPositionOptionsNew in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PositionParameters: miterPosition ( NXOpen.Features.SheetMetal.MiterOptionsPositionOptions) –New in version NX4.0.0.
License requirements: None.
StartType¶
-
MiterOptions.StartType¶ Returns or sets the miter start type.
-------------------------------------Getter Method
Signature
StartTypeReturns: Return type: NXOpen.Features.SheetMetal.MiterOptionsTypeOptionsNew in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StartTypeParameters: startType ( NXOpen.Features.SheetMetal.MiterOptionsTypeOptions) –New in version NX4.0.0.
License requirements: None.
ThreeBendCornerFlangeClearance¶
-
MiterOptions.ThreeBendCornerFlangeClearance¶ Returns the flange clearance used for a contour flange corner in case of a three bend corner condition.
This applies for all treatment types in
Features.SheetMetal.MiterOptionsClosedCornerTypeOptions-------------------------------------Getter Method
Signature
ThreeBendCornerFlangeClearanceReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: None.
UseNormalCutoutMethod¶
-
MiterOptions.UseNormalCutoutMethod¶ Returns or sets the cut type of the sheet.
If set to true, mitering is done using the normal cutout method and aims to reduce the small segements that result as part of miter computation, and is carried out on an unbent sheet. Normally, the cut runs through from one bend centre to another. The sheet is later bent to achieve the desired result.
-------------------------------------Getter Method
Signature
UseNormalCutoutMethodReturns: Return type: bool New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
UseNormalCutoutMethodParameters: cutType (bool) – New in version NX4.0.0.
License requirements: None.
Method Detail¶
GetClosedCornerDiameter¶
-
MiterOptions.GetClosedCornerDiameter¶ The diameter expression of the closed corner.
Applicable only when
NXOpen.Features.SheetMetal.MiterOptions.ClosedCornerTypeOptions()isFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.CircularCutoutorFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.UCutoutorFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.VCutout.Signature
GetClosedCornerDiameter()Returns: Return type: NXOpen.ExpressionNew in version NX4.0.0.
License requirements: None.
GetEndValue¶
-
MiterOptions.GetEndValue¶ THE miter end value expression.
Signature
GetEndValue()Returns: Return type: NXOpen.ExpressionNew in version NX4.0.0.
License requirements: None.
GetStartValue¶
-
MiterOptions.GetStartValue¶ THE miter start value expression.
Positive value adds material and negative v
Signature
GetStartValue()Returns: Return type: NXOpen.ExpressionNew in version NX4.0.0.
License requirements: None.
SetClosedCornerDiameter¶
-
MiterOptions.SetClosedCornerDiameter¶ Signature
SetClosedCornerDiameter(endValue)Parameters: endValue (str) – New in version NX4.0.0.
License requirements: None.
SetEndValue¶
-
MiterOptions.SetEndValue¶ Signature
SetEndValue(endValue)Parameters: endValue (str) – New in version NX4.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Expression.RightHandSide()on theNXOpen.Expressionobject returned fromFeatures.SheetMetal.MiterOptions.GetEndValue()instead.License requirements: None.
SetStartValue¶
-
MiterOptions.SetStartValue¶ Signature
SetStartValue(startValue)Parameters: startValue (str) – New in version NX4.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Expression.RightHandSide()on theNXOpen.Expressionobject returned fromFeatures.SheetMetal.MiterOptions.GetStartValue()instead.License requirements: None.