Table of Contents

Class ClMachiningValve

Namespace
Hi.Motion.MatValves
Assembly
HiMech.dll

Optimize the sequential transformation matrixes step by step for machining. Filtering the unnecessary transformation matrixes. Accept milling mode by IsSpinMachining.

public class ClMachiningValve : IMotionValve
Inheritance
ClMachiningValve
Implements
Inherited Members
Extension Methods

Constructors

ClMachiningValve()

Ctor.

public ClMachiningValve()

Properties

IsSpinMachining

Gets or sets a value indicating whether the machining is in spin mode. When true, the valve optimizes for milling operations with tool rotation.

public bool IsSpinMachining { get; set; }

Property Value

bool

MotionValve

Motion valve. The default value is StepMotionValve.

public IMotionValve MotionValve { get; set; }

Property Value

IMotionValve

Methods

ClearState()

Clear state.

public void ClearState()

Finish()

Finish.

public SeqPair<Mat4d> Finish()

Returns

SeqPair<Mat4d>

The end of the optimized sequence transformation matrixes. return pair.first: one of the previous mat; pair.second: current mat.

Step(DVec3d)

Output optimized sequence transformation matrixes.

public SeqPair<Mat4d> Step(DVec3d cl)

Parameters

cl DVec3d

cutter location

Returns

SeqPair<Mat4d>

optimized sequence transformation matrixes. return pair.first: one of the previous mat; pair.second: current mat

Step(Mat4d)

Output optimized sequence transformation matrixes.

public SeqPair<Mat4d> Step(Mat4d at)

Parameters

at Mat4d

Input matrix

Returns

SeqPair<Mat4d>

optimized sequence transformation matrixes. return pair.first: one of the previous mat; pair.second: current mat.

Remarks

return null if the transformation has been returned before.