Table of Contents

Class ActUtil

Namespace
Hi.Numerical.Acts
Assembly
HiMech.dll

Provides utility methods for numerical control actions.

public static class ActUtil
Inheritance
ActUtil
Inherited Members

Methods

GetStepNum(SeqPair<DVec3d>, ICoordinateConverter, double, IMachiningMotionResolution)

Gets the step number for a machine coordinate sequence.

public static int GetStepNum(SeqPair<DVec3d> mcSeq, ICoordinateConverter coordinateConverter, double toolHeightForComputingStepNum, IMachiningMotionResolution ncResolution)

Parameters

mcSeq SeqPair<DVec3d>

The machine coordinate sequence.

coordinateConverter ICoordinateConverter

The coordinate converter to use.

toolHeightForComputingStepNum double

The tool height for computing step number.

ncResolution IMachiningMotionResolution

The machining motion resolution.

Returns

int

The calculated step number.

GetStepNumOnPolarInterpolationMode(SeqPair<Vec3d>, IMachiningMotionResolution)

Gets the step number for a polar interpolation mode.

public static int GetStepNumOnPolarInterpolationMode(SeqPair<Vec3d> programPolarXczSeq, IMachiningMotionResolution ncResolution)

Parameters

programPolarXczSeq SeqPair<Vec3d>

The program polar XCZ sequence.

ncResolution IMachiningMotionResolution

The machining motion resolution.

Returns

int

The calculated step number.

UpdateStepNumByCl(DVec3d, DVec3d, ICoordinateConverter, double, double, ref int)

Updates the step number based on cutter location points.

public static void UpdateStepNumByCl(DVec3d mcXyzabc0, DVec3d mcXyzabc1, ICoordinateConverter coordinateConverter, double compensationHeight, double linearResolution_mm, ref int stepNum)

Parameters

mcXyzabc0 DVec3d

The starting machine coordinate.

mcXyzabc1 DVec3d

The ending machine coordinate.

coordinateConverter ICoordinateConverter

The coordinate converter to use.

compensationHeight double

The compensation height value.

linearResolution_mm double

The linear resolution in millimeters.

stepNum int

The step number to update.