Table of Contents

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

StepIndex int

Execution-order index of the step.

ToolId int

The tool equipped on the step; a change opens a new section.

Carrier ISentenceCarrier

NC-source carrier of the step; anchors the reports. May be null.

IsTouched bool

Whether the step removed material.

CollidingToolParts IReadOnlyList<string>

The tool-side parts in collision with the workpiece on this step, among ToolHolder and CutterShank; empty when none.

IsRapid bool

Whether 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

ISentenceCarrier

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

IReadOnlyList<string>

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

bool

IsTouched

Whether the step removed material.

public bool IsTouched { get; init; }

Property Value

bool

StepIndex

Execution-order index of the step.

public int StepIndex { get; init; }

Property Value

int

ToolId

The tool equipped on the step; a change opens a new section.

public int ToolId { get; init; }

Property Value

int