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
StepIndexintExecution-order index of the step.
RevolutionsdoubleThe spindle revolutions of the step (RevolutionsOf(MachineMotionStep)).
SpindleTorqueRatiodoubleThe max spindle torque ratio (MaxSpindleRatios(MachiningStep, out double, out double)); NaN when unknown.
SpindlePowerRatiodoubleThe max spindle power ratio (MaxSpindleRatios(MachiningStep, out double, out double)); NaN when unknown.
StressRatiodoubleThe stress ratio; NaN when unknown.
IsRapidboolWhether 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
Revolutions
The spindle revolutions of the step (RevolutionsOf(MachineMotionStep)).
public double Revolutions { get; init; }
Property Value
SpindlePowerRatio
The max spindle power ratio (MaxSpindleRatios(MachiningStep, out double, out double)); NaN when unknown.
public double SpindlePowerRatio { get; init; }
Property Value
SpindleTorqueRatio
The max spindle torque ratio (MaxSpindleRatios(MachiningStep, out double, out double)); NaN when unknown.
public double SpindleTorqueRatio { get; init; }
Property Value
StepIndex
Execution-order index of the step.
public int StepIndex { get; init; }
Property Value
StressRatio
The stress ratio; NaN when unknown.
public double StressRatio { get; init; }