Table of Contents

Interface IMachiningService

Namespace
Hi.MachiningSteps
Assembly
HiMech.dll

Represents a host interface for milling steps that provides access to milling equipment and related resources.

public interface IMachiningService : IGetMachiningEquipment
Inherited Members
Extension Methods

Properties

ActiveNcRunner

Gets the active NC control runner.

IControlRunner ActiveNcRunner { get; }

Property Value

IControlRunner

BaseDirectory

Gets the project base directory (relative-path root).

string BaseDirectory { get; }

Property Value

string

ClRunner

Gets the NX-CL (CLSF) control runner.

IControlRunner ClRunner { get; }

Property Value

IControlRunner

ClStrip

Gets the cutter location strip containing the machining steps.

ClStrip ClStrip { get; }

Property Value

ClStrip

CsvRunner

Gets the CSV control runner.

IControlRunner CsvRunner { get; }

Property Value

IControlRunner

DictionaryColorGuide

Gets the color guide for dictionary-based coloring.

DictionaryColorGuide DictionaryColorGuide { get; }

Property Value

DictionaryColorGuide

EnablePauseOnFailure

Gets whether playback pauses on a failure.

bool EnablePauseOnFailure { get; }

Property Value

bool

IsCollisionDetectionEnabled

Gets whether collision detection is currently enabled.

bool IsCollisionDetectionEnabled { get; }

Property Value

bool

MachiningActRunner

Gets the act runner that expands and processes acts.

MachiningActRunner MachiningActRunner { get; }

Property Value

MachiningActRunner

MachiningEquipment

Gets the milling equipment used for machining operations.

MachiningEquipment MachiningEquipment { get; }

Property Value

MachiningEquipment

MachiningSession

Gets the current machining session.

MachiningSession MachiningSession { get; }

Property Value

MachiningSession

MachiningToolHouse

Gets the tool house containing milling tools.

MachiningToolHouse MachiningToolHouse { get; }

Property Value

MachiningToolHouse

MillingStepLuggageReader

Gets the parallel bulk reader for milling step luggage data.

ParallelBulkReader<MillingStepLuggage> MillingStepLuggageReader { get; }

Property Value

ParallelBulkReader<MillingStepLuggage>

NcDiagnosticProgress

Gets the NC-pipeline diagnostic sink on the IMessage channel.

NcDiagnosticProgress NcDiagnosticProgress { get; }

Property Value

NcDiagnosticProgress

NcManipulationDiagnosticProgress

Gets the NC-manipulation diagnostic sink — the second diagnostic home, for operations that rework an already-played NC/CL program (writeback conversion, NC optimization) as opposed to the play-time pipeline diagnostics in NcDiagnosticProgress. Keeping the two scenarios in separate homes lets a play reset clear run diagnostics without discarding manipulation results, and vice versa; each manipulation run clears this home at its start so it always holds the latest run.

NcDiagnosticProgress NcManipulationDiagnosticProgress { get; }

Property Value

NcDiagnosticProgress

PacePlayer

Gets the pace player controlling execution pace.

PacePlayer PacePlayer { get; }

Property Value

PacePlayer

StepDiagnosticProgress

Gets the step-aligned IMessage-channel sink.

StepDiagnosticProgress StepDiagnosticProgress { get; }

Property Value

StepDiagnosticProgress

TimeMapping

Gets the time mapping for synchronization.

TimeMapping TimeMapping { get; }

Property Value

TimeMapping

Methods

BeginControlRunner()

Initialises the meshed geometry for a control run (idempotent).

void BeginControlRunner()

CheckStrokeLimitOnStep()

Checks the stroke limit at the current step; true if within limits.

bool CheckStrokeLimitOnStep()

Returns

bool

GetSessionShell()

Returns the session shell that exposes the runtime surface of the active machining session.

ISessionShell GetSessionShell()

Returns

ISessionShell

RefreshDrawing()

Refreshes the visual display.

void RefreshDrawing()

UpdateIdealMillingToolOffsetTableByToolHouse()

Refreshes the ideal milling-tool offset table from the tool house.

void UpdateIdealMillingToolOffsetTableByToolHouse()