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.

GetIsoCoordinatePosition(IMachiningEquipment, Vec3d)

Get ISO coordinate position from the root.

public static Vec3d GetIsoCoordinatePosition(this IMachiningEquipment equipment, Vec3d g54seriesOffset)

Parameters

equipment IMachiningEquipment
g54seriesOffset Vec3d

Returns

Vec3d

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.