Namespace CAMIPC.MCDFormerTypes
Interfaces
ICamIpcCLDReceiver
ICamIpcHandlerApplicationMachineCLDataRequested
Handler for the event fired while an operation that makes machine CLData is being calculated. The handler is given the live receiver of that operation and is expected to append the frames and commands of the toolpath into it before returning. This is what makes the receiver reachable from an external application: the event is delivered synchronously, so CAM waits for the handler and the frames it appends land in the toolpath of that very calculation. Ask GetTimeOut for long enough - the calculation is blocked until the handler returns or the timeout expires, and on timeout the toolpath keeps only what was appended by then. The operation comes as an identifier, not an object: find it through the technologist of the active project when its parameters are needed.
ICamIpcMachineCLDReceiver
Machine-side aspect of ICamIpcCLDReceiver: the frames go straight into the machine toolpath (MCDTree), bypassing the geometric CLData stage. NOT REACHABLE over IPC yet: the receiver exists only for the duration of a solver call, and a solver is an in-process CAMAPI plugin - an external application is never handed one. Mirrored here for the G-code interpreter, which will run on the same commands. Use ICamApiMachineCLDReceiver from a plugin.