MiterOptions Class¶
-
class
NXOpen.Features.SheetMetal.
MiterOptions
¶ Bases:
NXOpen.TaggedObject
Represents 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
BlendMiter
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
BlendMiter
Parameters: 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
ClosedCornerGap
Returns: Return type: NXOpen.Expression
New in version NX11.0.0.
License requirements: None.
ClosedCornerType¶
-
MiterOptions.
ClosedCornerType
¶ Returns or sets the closed corner option type.
-------------------------------------
Getter Method
Signature
ClosedCornerType
Returns: Return type: NXOpen.Features.SheetMetal.MiterOptionsClosedCornerTypeOptions
New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ClosedCornerType
Parameters: 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
ClosedCornerVAngle1
Returns: Return type: NXOpen.Expression
New 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
ClosedCornerVAngle2
Returns: Return type: NXOpen.Expression
New 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.CircularCutout
orFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.UCutout
orFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.VCutout
.-------------------------------------
Getter Method
Signature
CornerTreatmentOffset
Returns: Return type: NXOpen.Expression
New 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.CircularCutout
orFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.UCutout
orFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.VCutout
.-------------------------------------
Getter Method
Signature
CornerTreatmentOriginType
Returns: Return type: NXOpen.Features.SheetMetal.MiterOptionsCornerTreatmentOriginTypeOptions
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CornerTreatmentOriginType
Parameters: 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
EndType
Returns: Return type: NXOpen.Features.SheetMetal.MiterOptionsTypeOptions
New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
EndType
Parameters: 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.Closed
orFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.CircularCutout
orFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.UCutout
orFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.VCutout
.-------------------------------------
Getter Method
Signature
MiterCorner
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MiterCorner
Parameters: 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
MiterInteriorCornersIfNecessary
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MiterInteriorCornersIfNecessary
Parameters: 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.Closed
orFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.CircularCutout
orFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.UCutout
orFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.VCutout
.-------------------------------------
Getter Method
Signature
MiterRootRadius
Returns: Return type: NXOpen.Expression
New in version NX11.0.0.
License requirements: None.
Position¶
-
MiterOptions.
Position
¶ Returns or sets the position of miter.
-------------------------------------
Getter Method
Signature
Position
Returns: Return type: NXOpen.Features.SheetMetal.MiterOptionsPositionOptions
New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Position
Parameters: 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
StartType
Returns: Return type: NXOpen.Features.SheetMetal.MiterOptionsTypeOptions
New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
StartType
Parameters: 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
ThreeBendCornerFlangeClearance
Returns: Return type: NXOpen.Expression
New 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
UseNormalCutoutMethod
Returns: Return type: bool New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
UseNormalCutoutMethod
Parameters: 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.CircularCutout
orFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.UCutout
orFeatures.SheetMetal.MiterOptionsClosedCornerTypeOptions.VCutout
.Signature
GetClosedCornerDiameter()
Returns: Return type: NXOpen.Expression
New in version NX4.0.0.
License requirements: None.
GetEndValue¶
-
MiterOptions.
GetEndValue
¶ THE miter end value expression.
Signature
GetEndValue()
Returns: Return type: NXOpen.Expression
New 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.Expression
New 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.Expression
object 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.Expression
object returned fromFeatures.SheetMetal.MiterOptions.GetStartValue()
instead.License requirements: None.