Table of Contents

Class ActMcPolarLinearContour

Namespace
Hi.Numerical.Acts
Assembly
HiMech.dll

Polar MCZ linear contour.

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

Constructors

ActMcPolarLinearContour(DVec3d, SeqPair<Vec3d>, TimeSpan, double)

Initializes a new instance of the ActMcPolarLinearContour class.

public ActMcPolarLinearContour(DVec3d preMcXyzabc_rad, SeqPair<Vec3d> programPolarXczSeq, TimeSpan duration, double zCoordinateOffset)

Parameters

preMcXyzabc_rad DVec3d

Previous machine XYZ-ABC coordinates in radians

programPolarXczSeq SeqPair<Vec3d>

Program polar XCZ sequence pair

duration TimeSpan

Duration of the contour movement

zCoordinateOffset double

Z-coordinate offset

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

ProgramPolarXczSeq

Gets or sets the program polar XCZ sequence pair.

public SeqPair<Vec3d> ProgramPolarXczSeq { get; set; }

Property Value

SeqPair<Vec3d>

Remarks

Contains the start and end points in polar XCZ coordinates for interpolation in polar coordinate system.

Methods

GetActMcXyzabcSteps(IMachiningMotionResolution, double, Action<object>)

Gets the machine XYZABC steps for this contour.

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

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.

coordinateConversionFailedAction Action<object>

Called when attacher NP to MC conversion fails; the argument is the failed DVec3d (attacher NP).

Returns

IEnumerable<ActMcXyzabcStep>

A collection of machine XYZABC steps.