PathLinearMotion Class¶
-
class
NXOpen.CAM.
PathLinearMotion
¶ Bases:
NXOpen.TransientObject
This class represents the data of a Linear Motion
New in version NX10.0.1.
Properties¶
Property | Description |
---|---|
ContactData | Returns or sets the contact motion if the motion is contact and Nothing if not |
EndPoint | Returns or sets the end point of the motion |
IsContact | Returns or sets the check to see if motion is contact |
IsCustomFeedrate | Returns or sets the custom feed rate indicator |
MotionType | Returns or sets the motion type |
ToolAxis | Returns or sets the tool axis of the motion |
Methods¶
Method | Description |
---|---|
Dispose | Free resources associated with the instance. |
GetFeedrate | Get feed rate information |
SetFeedrate | Set feed rate information. |
Property Detail¶
ContactData¶
-
PathLinearMotion.
ContactData
¶ Returns or sets the contact motion if the motion is contact and Nothing if not
-------------------------------------
Getter Method
Signature
ContactData
Returns: Return type: NXOpen.CAM.PathContactMotion
New in version NX11.0.2.
License requirements: None.
-------------------------------------
Setter Method
Signature
ContactData
Parameters: contactMotion ( NXOpen.CAM.PathContactMotion
) –New in version NX11.0.2.
License requirements: cam_base (“CAM BASE”)
EndPoint¶
-
PathLinearMotion.
EndPoint
¶ Returns or sets the end point of the motion
-------------------------------------
Getter Method
Signature
EndPoint
Returns: Return type: NXOpen.Point3d
New in version NX10.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
EndPoint
Parameters: endPoint ( NXOpen.Point3d
) –New in version NX10.0.1.
License requirements: cam_base (“CAM BASE”)
IsContact¶
-
PathLinearMotion.
IsContact
¶ Returns or sets the check to see if motion is contact
-------------------------------------
Getter Method
Signature
IsContact
Returns: Return type: bool New in version NX11.0.2.
License requirements: None.
-------------------------------------
Setter Method
Signature
IsContact
Parameters: answer (bool) – New in version NX11.0.2.
License requirements: cam_base (“CAM BASE”)
IsCustomFeedrate¶
-
PathLinearMotion.
IsCustomFeedrate
¶ Returns or sets the custom feed rate indicator
-------------------------------------
Getter Method
Signature
IsCustomFeedrate
Returns: Return type: bool New in version NX10.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
IsCustomFeedrate
Parameters: isCustomFeedRate (bool) – New in version NX10.0.1.
License requirements: cam_base (“CAM BASE”)
MotionType¶
-
PathLinearMotion.
MotionType
¶ Returns or sets the motion type
-------------------------------------
Getter Method
Signature
MotionType
Returns: Return type: NXOpen.CAM.CamPathMotionType
New in version NX10.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
MotionType
Parameters: motionType ( NXOpen.CAM.CamPathMotionType
) –New in version NX10.0.1.
License requirements: cam_base (“CAM BASE”)
ToolAxis¶
-
PathLinearMotion.
ToolAxis
¶ Returns or sets the tool axis of the motion
-------------------------------------
Getter Method
Signature
ToolAxis
Returns: Return type: NXOpen.Vector3d
New in version NX10.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
ToolAxis
Parameters: toolAxis ( NXOpen.Vector3d
) –New in version NX10.0.1.
License requirements: cam_base (“CAM BASE”)
Method Detail¶
Dispose¶
-
PathLinearMotion.
Dispose
¶ Free resources associated with the instance.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Signature
Dispose()
New in version NX10.0.1.
License requirements: None.
GetFeedrate¶
-
PathLinearMotion.
GetFeedrate
¶ Get feed rate information
Signature
GetFeedrate()
Returns: a tuple Return type: A tuple consisting of (feedValue, feedUnit). feedValue is a float. feedUnit is a NXOpen.CAM.CamPathFeedUnitType
.New in version NX10.0.1.
License requirements: None.
SetFeedrate¶
-
PathLinearMotion.
SetFeedrate
¶ Set feed rate information.
If the feed rate is set on a motion then it will be treated as custom feed rate
Signature
SetFeedrate(feedValue, feedUnit)
Parameters: - feedValue (float) –
- feedUnit (
NXOpen.CAM.CamPathFeedUnitType
) –
New in version NX10.0.1.
License requirements: cam_base (“CAM BASE”)