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
millingEquipmentGetterFunc<IMachiningEquipment>Function to get the machining equipment.
compIndexCollidableComponentEnumThe 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
equipmentIMachiningEquipmentThe 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
equipmentIMachiningEquipmentThe 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
equipmentIMachiningEquipmentThe machining equipment to run.
stepINcStep0The NC step to execute.
toolHouseMachiningToolHouseThe tool house containing available tools.