Struct ToolSectionTouchMonitor.Sample
- Namespace
- Hi.MachiningProcs
- Assembly
- HiMech.dll
One built step as the monitor sees it — the few facts the fold needs, detached from MachiningStep so the fold is testable on synthetic steps.
public readonly record struct ToolSectionTouchMonitor.Sample : IEquatable<ToolSectionTouchMonitor.Sample>
- Implements
- Inherited Members
- Extension Methods
Constructors
Sample(int, int, ISentenceCarrier, bool, IReadOnlyList<string>, bool)
One built step as the monitor sees it — the few facts the fold needs, detached from MachiningStep so the fold is testable on synthetic steps.
public Sample(int StepIndex, int ToolId, ISentenceCarrier Carrier, bool IsTouched, IReadOnlyList<string> CollidingToolParts, bool IsRapid = false)
Parameters
StepIndexintExecution-order index of the step.
ToolIdintThe tool equipped on the step; a change opens a new section.
CarrierISentenceCarrierNC-source carrier of the step; anchors the reports. May be null.
IsTouchedboolWhether the step removed material.
CollidingToolPartsIReadOnlyList<string>The tool-side parts in collision with the workpiece on this step, among ToolHolder and CutterShank; empty when none.
IsRapidboolWhether the step was commanded as rapid traverse; a section with no feed step after its first one is not reported as untouched.
Properties
Carrier
NC-source carrier of the step; anchors the reports. May be null.
public ISentenceCarrier Carrier { get; init; }
Property Value
CollidingToolParts
The tool-side parts in collision with the workpiece on this step, among ToolHolder and CutterShank; empty when none.
public IReadOnlyList<string> CollidingToolParts { get; init; }
Property Value
IsRapid
Whether the step was commanded as rapid traverse; a section with no feed step after its first one is not reported as untouched.
public bool IsRapid { get; init; }
Property Value
IsTouched
Whether the step removed material.
public bool IsTouched { get; init; }
Property Value
StepIndex
Execution-order index of the step.
public int StepIndex { get; init; }
Property Value
ToolId
The tool equipped on the step; a change opens a new section.
public int ToolId { get; init; }