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 |
---|---|
EndPoint | Returns or sets the end point of the motion |
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¶
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(endPoint)
Parameters: endPoint ( NXOpen.Point3d
) –New in version NX10.0.1.
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(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(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(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”)