Table of Contents

Class MachiningEquipmentUtil

Namespace
Hi.Machining.MachiningEquipmentUtils
Assembly
HiMech.dll

Utility methods for working with machining equipment.

public static class MachiningEquipmentUtil
Inheritance
MachiningEquipmentUtil
Inherited Members

Methods

GetFuncAnchoredCollidable(Func<IMachiningEquipment>, CollidableComponentEnum)

Gets a function-based anchored collidable for a specific component of the machining equipment.

public static FuncAnchoredCollidable GetFuncAnchoredCollidable(this Func<IMachiningEquipment> millingEquipmentGetter, CollidableComponentEnum compIndex)

Parameters

millingEquipmentGetter Func<IMachiningEquipment>

Function to get the machining equipment.

compIndex CollidableComponentEnum

The component to get the collidable for.

Returns

FuncAnchoredCollidable

A function-based anchored collidable for the specified component.

GetMcXyz_AttacherAtProgramZero(IMachiningEquipment)

Gets the machine coordinate when the attacher is at program zero. The machine coordinate are all assumed to be zero.

public static Vec3d GetMcXyz_AttacherAtProgramZero(this IMachiningEquipment equipment)

Parameters

equipment IMachiningEquipment

The machining equipment.

Returns

Vec3d

The machine coordinate vector.

GetMcXyz_AttacherAtTableBuckleZero(IMachiningEquipment)

Gets the machine coordinate when the attacher is at table buckle zero.

public static Vec3d GetMcXyz_AttacherAtTableBuckleZero(this IMachiningEquipment equipment)

Parameters

equipment IMachiningEquipment

The machining equipment.

Returns

Vec3d

The machine coordinate vector.

RunByStep(IMachiningEquipment, INcStep0, MachiningToolHouse)

Runs the machining equipment according to the specified NC step.

public static void RunByStep(this IMachiningEquipment equipment, INcStep0 step, MachiningToolHouse toolHouse)

Parameters

equipment IMachiningEquipment

The machining equipment to run.

step INcStep0

The NC step to execute.

toolHouse MachiningToolHouse

The tool house containing available tools.