Table of Contents

Struct OverloadRunFold.Sample

Namespace
Hi.MachiningProcs
Assembly
HiMech.dll

One built step as the fold sees it — the few facts the fold needs, detached from MachiningStep so the fold is testable on synthetic steps.

public readonly record struct OverloadRunFold.Sample : IEquatable<OverloadRunFold.Sample>
Implements
Inherited Members
Extension Methods

Constructors

Sample(int, double, double, double, double, bool)

One built step as the fold sees it — the few facts the fold needs, detached from MachiningStep so the fold is testable on synthetic steps.

public Sample(int StepIndex, double Revolutions, double SpindleTorqueRatio, double SpindlePowerRatio, double StressRatio, bool IsRapid)

Parameters

StepIndex int

Execution-order index of the step.

Revolutions double

The spindle revolutions of the step (RevolutionsOf(MachineMotionStep)).

SpindleTorqueRatio double

The max spindle torque ratio (MaxSpindleRatios(MachiningStep, out double, out double)); NaN when unknown.

SpindlePowerRatio double

The max spindle power ratio (MaxSpindleRatios(MachiningStep, out double, out double)); NaN when unknown.

StressRatio double

The stress ratio; NaN when unknown.

IsRapid bool

Whether the step was commanded as rapid traverse: such a step closes the runs and is in none.

Properties

IsRapid

Whether the step was commanded as rapid traverse: such a step closes the runs and is in none.

public bool IsRapid { get; init; }

Property Value

bool

Revolutions

The spindle revolutions of the step (RevolutionsOf(MachineMotionStep)).

public double Revolutions { get; init; }

Property Value

double

SpindlePowerRatio

The max spindle power ratio (MaxSpindleRatios(MachiningStep, out double, out double)); NaN when unknown.

public double SpindlePowerRatio { get; init; }

Property Value

double

SpindleTorqueRatio

The max spindle torque ratio (MaxSpindleRatios(MachiningStep, out double, out double)); NaN when unknown.

public double SpindleTorqueRatio { get; init; }

Property Value

double

StepIndex

Execution-order index of the step.

public int StepIndex { get; init; }

Property Value

int

StressRatio

The stress ratio; NaN when unknown.

public double StressRatio { get; init; }

Property Value

double