EmbossLimit Class¶
-
class
NXOpen.Features.
EmbossLimit
¶ Bases:
NXOpen.TaggedObject
Represents emboss start and end objects, meaning, targets and end-cap definitions.
This class provides methods to set and get the various emboss limit sub components.
Following are default values and options:
**End-Cap Option</b> :py:class:` Features.EmbossLimitEndcapMethod.OffsetExact < Features.EmbossLimitEndcapMethod>`
**End-Cap Source Option</b> :py:class:` Features.EmbossLimitEndcapSourceOption.Target < Features.EmbossLimitEndcapSourceOption>`
**Emboss Target</b> (array) EmbossTarget object
**End-Cap Direction</b> Translate direction
**Distance</b> (translate or offset) 2.0/5.0[in/mm]
New in version NX4.0.0.
Properties¶
Property | Description |
---|---|
Direction | Returns or sets the direction for translation |
Distance | Returns the default distance for offset or translation |
EndcapOption | Returns or sets the endcap method to create the End-Cap |
EndcapSource | Returns or sets the endcap source option to decide where the End-Cap comes from |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
GetTargets | The emboss targets @return Array of EmbossTarget object. |
SetDistance | The default distance expression formula string for offset or translation |
SetTargets | The emboss targets |
Enumerations¶
EmbossLimitEndcapMethod Enumeration | Describes the method that can be applied to the selected geometry to define the End-Cap. |
EmbossLimitEndcapSourceOption Enumeration | Describes the geometry that is used to create the End-Cap face/body. |
Property Detail¶
Direction¶
-
EmbossLimit.
Direction
¶ Returns or sets the direction for translation
-------------------------------------
Getter Method
Signature
Direction()
Returns: The direction for translation. Return type: NXOpen.Direction
New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Direction(direction)
Parameters: direction ( NXOpen.Direction
) – The direction for translation.New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Distance¶
-
EmbossLimit.
Distance
¶ Returns the default distance for offset or translation
-------------------------------------
Getter Method
Signature
Distance()
Returns: The default distance for offset or translation. Return type: NXOpen.Expression
New in version NX4.0.0.
License requirements: None.
EndcapOption¶
-
EmbossLimit.
EndcapOption
¶ Returns or sets the endcap method to create the End-Cap
-------------------------------------
Getter Method
Signature
EndcapOption()
Returns: The End-Cap method to create the End-Cap. Return type: NXOpen.Features.EmbossLimitEndcapMethod
New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
EndcapOption(endcapOption)
Parameters: endcapOption ( NXOpen.Features.EmbossLimitEndcapMethod
) – The End-Cap method to create the End-Cap.New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
EndcapSource¶
-
EmbossLimit.
EndcapSource
¶ Returns or sets the endcap source option to decide where the End-Cap comes from
-------------------------------------
Getter Method
Signature
EndcapSource()
Returns: The End-Cap source option to decide where the End-Cap comes from. Return type: NXOpen.Features.EmbossLimitEndcapSourceOption
New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
EndcapSource(endcapSourceOption)
Parameters: endcapSourceOption ( NXOpen.Features.EmbossLimitEndcapSourceOption
) – The End-Cap source option to decide where the End-Cap comes from.New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Method Detail¶
GetTargets¶
-
EmbossLimit.
GetTargets
¶ The emboss targets
Signature
GetTargets()
Returns: Array of EmbossTarget object. In NX4, only one target is supported. Return type: list of NXOpen.Features.EmbossTarget
New in version NX4.0.0.
License requirements: None.
SetDistance¶
-
EmbossLimit.
SetDistance
¶ The default distance expression formula string for offset or translation
Signature
SetDistance(distance)
Parameters: distance (str) – The default distance expression formula string for offset or translation. New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
SetTargets¶
-
EmbossLimit.
SetTargets
¶ The emboss targets
Signature
SetTargets(targets)
Parameters: targets (list of NXOpen.Features.EmbossTarget
) – Array of EmbossTarget object. In NX4, only one target is supported.New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)