InterpolateVector Class¶
-
class
NXOpen.CAM.InterpolateVector¶ Bases:
NXOpen.CAM.ToolAxisInterpolateRepresents builder of Interpolate Vector, one option of Tool Axis
New in version NX7.5.0.
Properties¶
| Property | Description |
|---|---|
| ApplyLeadTilt | Returns or sets a boolean value that indicates whether the lead and tilt angles needs to be given more precedence |
| ControlDirection | Returns or sets the control direction type |
| InterpolationMethod | Returns or sets the interpolation method type |
| MinimumLeadAngle | Returns or sets the minimum lead angle |
| SmoothingMethod | Returns or sets the smoothing method |
| Tag | Returns the Tag for this object. |
| TiltAngle | Returns or sets the tilt angle |
Methods¶
| Method | Description |
|---|---|
| Erase | Delete an existing item by index |
| GetLeadAngle | Get the lead angle |
| GetPoint | Get the point |
| GetPreviewMaximumDistanceBuilder | The preview maximum distance(inheritable tool dependent) |
| GetTotalNumberOfPoints | Get the total number of interpolate data points |
| GetVector | Get the vector |
| Insert | Add a new item |
| Modify | Modify an existing item by index |
| MoveDown | Move down an item |
| MoveUp | Move up an item |
| ResetToDefault | The action of Reset to Default |
| SetLeadAngle | Set the lead angle |
Property Detail¶
ApplyLeadTilt¶
-
InterpolateVector.ApplyLeadTilt¶ Returns or sets a boolean value that indicates whether the lead and tilt angles needs to be given more precedence
-------------------------------------Getter Method
Signature
ApplyLeadTiltReturns: the apply lead tilt value Return type: bool New in version NX11.0.1.
License requirements: cam_base (“CAM BASE”)
-------------------------------------Setter Method
Signature
ApplyLeadTiltParameters: applyLeadTilt (bool) – the apply lead tilt value New in version NX11.0.1.
License requirements: cam_base (“CAM BASE”)
MinimumLeadAngle¶
-
InterpolateVector.MinimumLeadAngle¶ Returns or sets the minimum lead angle
-------------------------------------Getter Method
Signature
MinimumLeadAngleReturns: the minimum lead angle Return type: float New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MinimumLeadAngleParameters: minLeadAngle (float) – the minimum lead angle New in version NX8.5.0.
License requirements: cam_base (“CAM BASE”)
SmoothingMethod¶
-
InterpolateVector.SmoothingMethod¶ Returns or sets the smoothing method
-------------------------------------Getter Method
Signature
SmoothingMethodReturns: the smoothing method value Return type: int New in version NX11.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
SmoothingMethodParameters: smoothingOption (int) – the smoothing method value New in version NX11.0.1.
License requirements: cam_base (“CAM BASE”)
TiltAngle¶
-
InterpolateVector.TiltAngle¶ Returns or sets the tilt angle
-------------------------------------Getter Method
Signature
TiltAngleReturns: the tilt angle value Return type: float New in version NX7.5.2.
License requirements: None.
-------------------------------------Setter Method
Signature
TiltAngleParameters: tiltAngle (float) – the tilt angle value New in version NX7.5.2.
License requirements: cam_base (“CAM BASE”)
Method Detail¶
Erase¶
-
InterpolateVector.Erase¶ Delete an existing item by index
Signature
Erase(index)Parameters: index (int) – the index of deleted item New in version NX7.5.0.
License requirements: cam_base (“CAM BASE”)
GetLeadAngle¶
-
InterpolateVector.GetLeadAngle¶ Get the lead angle
Signature
GetLeadAngle(index)Parameters: index (int) – the index of item Returns: the lead angle Return type: float New in version NX11.0.1.
License requirements: cam_base (“CAM BASE”)
GetPreviewMaximumDistanceBuilder¶
-
InterpolateVector.GetPreviewMaximumDistanceBuilder¶ The preview maximum distance(inheritable tool dependent)
Signature
GetPreviewMaximumDistanceBuilder()Returns: the preview maximum distance builder Return type: NXOpen.CAM.InheritableToolDepBuilderNew in version NX11.0.1.
License requirements: None.
GetVector¶
-
InterpolateVector.GetVector¶ Get the vector
Signature
GetVector(index)Parameters: index (int) – the index of item Returns: the vector Return type: NXOpen.DirectionNew in version NX7.5.5.
License requirements: None.
Insert¶
-
InterpolateVector.Insert¶ Add a new item
Signature
Insert(inputIndex, point, view, vector)Parameters: - inputIndex (int) – the new created item index
- point (
NXOpen.Point) – the point - view (
NXOpen.NXObject) – the view - vector (
NXOpen.Direction) – the vector
New in version NX7.5.0.
License requirements: cam_base (“CAM BASE”)
Modify¶
-
InterpolateVector.Modify¶ Overloaded method Modify
Modify(index, point, vector)Modify(index, point, vector, ignorePoint)
-------------------------------------Modify an existing item by index
Signature
Modify(index, point, vector)Parameters: - index (int) – the index of modified item
- point (
NXOpen.Point) – the point - vector (
NXOpen.Direction) – the vector
New in version NX7.5.0.
License requirements: cam_base (“CAM BASE”)
-------------------------------------Modify an existing item by index
Signature
Modify(index, point, vector, ignorePoint)Parameters: - index (int) – the index of modified item
- point (
NXOpen.Point) – the point - vector (
NXOpen.Direction) – the vector - ignorePoint (bool) – the status of the point
New in version NX11.0.1.
License requirements: cam_base (“CAM BASE”)
-------------------------------------
MoveDown¶
-
InterpolateVector.MoveDown¶ Move down an item
Signature
MoveDown(index)Parameters: index (int) – the index of item which should be moved down New in version NX7.5.0.
License requirements: None.