InterpolateAngle Class

class NXOpen.CAM.InterpolateAngle

Bases: NXOpen.CAM.ToolAxisInterpolate

Represents builder of Interpolate Angle, one option of Tool Axis

New in version NX7.5.0.

Properties

Property Description
ControlDirection Returns or sets the control direction type
InterpolationMethod Returns or sets the interpolation method type
Tag Returns the Tag for this object.

Methods

Method Description
Erase Delete an existing item by index
GetLeadAngle Get the lead angle
GetPoint Get the point
GetTiltAngle Get the tilt angle
GetTotalNumberOfPoints Get the total number of interpolate data points
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

Method Detail

Erase

InterpolateAngle.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

InterpolateAngle.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 NX7.5.5.

License requirements: None.

GetTiltAngle

InterpolateAngle.GetTiltAngle

Get the tilt angle

Signature GetTiltAngle(index)

Parameters:index (int) – the index of item
Returns:the tilt angle
Return type:float

New in version NX7.5.5.

License requirements: None.

Insert

InterpolateAngle.Insert

Add a new item

Signature Insert(inputIndex, point, view, leadAngle, tiltAngle)

Parameters:
  • inputIndex (int) – the new created item index
  • point (NXOpen.Point) – the point
  • view (NXOpen.NXObject) – the view
  • leadAngle (float) – the lead angle
  • tiltAngle (float) – the tilt angle

New in version NX7.5.0.

License requirements: cam_base (“CAM BASE”)

Modify

InterpolateAngle.Modify

Overloaded method Modify

  • Modify(index, point, tiltAngle, leadAngle)
  • Modify(index, point, tiltAngle, leadAngle, ignorePoint)

-------------------------------------

Modify an existing item by index

Signature Modify(index, point, tiltAngle, leadAngle)

Parameters:
  • index (int) – the index of modified item
  • point (NXOpen.Point) – the point
  • tiltAngle (float) – the tilt angle
  • leadAngle (float) – the lead angle

New in version NX7.5.0.

License requirements: cam_base (“CAM BASE”)

-------------------------------------

Modify an existing item by index

Signature Modify(index, point, tiltAngle, leadAngle, ignorePoint)

Parameters:
  • index (int) – the index of modified item
  • point (NXOpen.Point) – the point
  • tiltAngle (float) – the tilt angle
  • leadAngle (float) – the lead angle
  • ignorePoint (bool) – the ignore point status

New in version NX11.0.2.

License requirements: cam_base (“CAM BASE”)

-------------------------------------

MoveDown

InterpolateAngle.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.

MoveUp

InterpolateAngle.MoveUp

Move up an item

Signature MoveUp(index)

Parameters:index (int) – the index of item which should be moved up

New in version NX7.5.0.

License requirements: None.