Table of Contents

Interface IMachiningEquipment

Namespace
Hi.Machining.MachiningEquipmentUtils
Assembly
HiMech.dll

Machining equipment — implemented by both topology faces of the equipment split: the authored SetupEquipment and the runtime MachiningEquipment. XML IO is NOT part of this contract — only the authored face serializes.

As an IMechanism the equipment is the whole scene: its assembly is the equipment tree the machine chain, fixture, workpiece and tool assemblies are mounted in; its root anchor is the machine chain's root (null while no chain is mounted); its solid dictionary is the machine chain's (an own, empty one while no chain is mounted).

public interface IMachiningEquipment : IMechanism, ITopo, IGetAsmb, IGetAnchor, IGetTopoIndex, IGetAnchoredDisplayeeList, IGetAnchorToSolidDictionary, IDisplayee, IExpandToBox3d, IGetProgramCl, IGetMachiningChain
Inherited Members
Extension Methods

Properties

Fixture

Fixture of workpiece. A fixture another equipment face holds leaves that face (the face forgets it and drops its attachments) before this face takes it; the fixture of a runtime face's AuthoredFace, written on that runtime face, stays with the authored face.

Fixture Fixture { get; set; }

Property Value

Fixture

MachiningTool

Milling tool.

IMachiningTool MachiningTool { get; set; }

Property Value

IMachiningTool

TableToComp

Component transformation from table: the transformer on the attachment branch from the machine's worktable end to the fixture (or, with no fixture, to the workpiece).

ITransformer TableToComp { get; set; }

Property Value

ITransformer

Workpiece

Workpiece. A workpiece another equipment face holds leaves that face (the face forgets it and drops its attachments) before this face takes it; the workpiece of a runtime face's AuthoredFace, written on that runtime face, stays with the authored face.

Workpiece Workpiece { get; set; }

Property Value

Workpiece

WorkpieceCollidable

Collidable face of the running workpiece: its meshed geometry, in the GeomAnchor frame the mesh is built and drawn in. Set by the runtime service layer, as WorkpieceDisplayee; null on the authored face and while no workpiece is mounted. The collision index reads the workpiece side of every collision pair through it (GetCollidable()), so a pair against the workpiece is evaluated only while this is set.

ICollidable WorkpieceCollidable { get; set; }

Property Value

ICollidable

WorkpieceDisplayee

Displayee for workpiece rendering. Set by the runtime service layer.

IDisplayee WorkpieceDisplayee { get; set; }

Property Value

IDisplayee

Methods

Rewire()

Rebuilds the attachment branches between the parts from their current roles (EquipmentWiring). The part setters and the TableToComp setter call it; call it after rebinding a role anchor of a mounted part in place.

void Rewire()