Table of Contents

Class ActMcXyzabcOrientableLinearContour

Namespace
Hi.Numerical.Acts
Assembly
HiMech.dll

Action of Machine Coordinate XYZABC contour by Machine Coordinate orientable linear interpolation. This class handles complex tool movements with both position and orientation control.

public class ActMcXyzabcOrientableLinearContour : IActDuration, IActMcXyzabcContour, IAct
Inheritance
ActMcXyzabcOrientableLinearContour
Implements
Inherited Members
Extension Methods

Remarks

This class is used for:

  • 5-axis machining movements
  • Tool orientation control
  • Linear interpolation with orientation
  • Complex contour following

The movement combines:

  • Linear position interpolation (XYZ)
  • Rotational orientation interpolation (ABC)
  • Synchronized motion control

Constructors

ActMcXyzabcOrientableLinearContour(SeqPair<DVec3d>, TimeSpan, ICoordinateConverter)

Initializes a new instance of the ActMcXyzabcOrientableLinearContour class.

public ActMcXyzabcOrientableLinearContour(SeqPair<DVec3d> mcSeq, TimeSpan duration, ICoordinateConverter coordinateConverter)

Parameters

mcSeq SeqPair<DVec3d>

Machine coordinate sequence pair

duration TimeSpan

Duration of the contour movement

coordinateConverter ICoordinateConverter

Coordinate converter for transformation. Null is acceptable if no cutter location distance is needed.

Properties

ActDuration

Gets or sets the duration of the action.

public TimeSpan ActDuration { get; set; }

Property Value

TimeSpan

Remarks

The duration represents:

  • The time required to complete the action
  • Should be positive and finite
  • Zero duration indicates an instantaneous action
  • Used for scheduling and timing calculations

CoordinateConverter

Gets or sets the coordinate converter. Can be null if no cutter location distance is needed for interpolation.

public ICoordinateConverter CoordinateConverter { get; set; }

Property Value

ICoordinateConverter

Remarks

The converter is used for:

  • Coordinate system transformations
  • Distance calculations
  • Path optimization
  • Optional for simple movements

McSeq

Gets or sets the machine coordinate sequence pair. The Normal property of DVec3d represents ABC angles in radians.

public SeqPair<DVec3d> McSeq { get; set; }

Property Value

SeqPair<DVec3d>

Remarks

The sequence pair contains:

  • Start and end positions in machine coordinates
  • Tool orientation angles (ABC) in radians
  • Used for interpolation calculations

Methods

GetActMcXyzabcSteps(IMachiningMotionResolution, double)

Gets the machine XYZABC steps for this contour.

public IEnumerable<ActMcXyzabcStep> GetActMcXyzabcSteps(IMachiningMotionResolution ncResolution, double spindleBuckleToToolTipLength)

Parameters

ncResolution IMachiningMotionResolution

The machining motion resolution to use for step generation.

spindleBuckleToToolTipLength double

The length from spindle buckle to tool tip, used for computing step numbers.

Returns

IEnumerable<ActMcXyzabcStep>

A collection of machine XYZABC steps.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.