Table of Contents

Interface IMachineAxisConfig

Namespace
Hi.NcParsers.Dependencys
Assembly
HiMech.dll

Machine axis configuration: which axes exist and their types. Compatible with Fanuc, Siemens, Heidenhain, Mazak, Okuma.

public interface IMachineAxisConfig : INcDependency, IMakeXmlSource
Inherited Members
Extension Methods

Properties

AxisNames

Gets the configured axis names in order.

IEnumerable<string> AxisNames { get; }

Property Value

IEnumerable<string>

Methods

IsModularRotary(string)

Whether the rotary axis wraps 0°–360° (modular). Affects cyclic shortest-path resolution. Returns false for linear axes.

bool IsModularRotary(string axisName)

Parameters

axisName string

Returns

bool

IsRotaryAxis(string)

Returns true if the axis is rotary or spindle, false if linear.

bool IsRotaryAxis(string axisName)

Parameters

axisName string

Returns

bool

RemoveAxis(string)

Removes an axis from the configuration.

void RemoveAxis(string axisName)

Parameters

axisName string

SetAxis(string, AxisType)

Adds or updates an axis with the specified type.

void SetAxis(string axisName, AxisType type)

Parameters

axisName string
type AxisType