Class MachineEvaluatorHelper
Inheritance
MachineEvaluatorHelper
Assembly: CAMIPC.DotnetHelper.dll
Syntax
public static class MachineEvaluatorHelper
Methods
AbsoluteMatrix(ComWrapper<ICamIpcMachineEvaluator>)
Tool control-point matrix in the workpiece (geometric) coordinate system.
Declaration
public static TST3DMatrix AbsoluteMatrix(this ComWrapper<ICamIpcMachineEvaluator> evalCom)
Parameters
Returns
ActiveSpindleIndex(ComWrapper<ICamIpcMachineEvaluator>)
Index of the currently active spindle, or -1 if no spindle is active.
Declaration
public static int ActiveSpindleIndex(this ComWrapper<ICamIpcMachineEvaluator> evalCom)
Parameters
Returns
AxisCount(ComWrapper<ICamIpcMachineEvaluator>)
Declaration
public static int AxisCount(this ComWrapper<ICamIpcMachineEvaluator> evalCom)
Parameters
Returns
AxisInfo(ComWrapper<ICamIpcMachineEvaluator>, int)
Static info about the axis at the given index (0..AxisCount-1).
Declaration
public static TCamApiMachineAxisInfo AxisInfo(this ComWrapper<ICamIpcMachineEvaluator> evalCom, int index)
Parameters
Returns
AxisValue(ComWrapper<ICamIpcMachineEvaluator>, int)
Live value of the axis at the given index (0..AxisCount-1) for the current
simulation frame.
Declaration
public static double AxisValue(this ComWrapper<ICamIpcMachineEvaluator> evalCom, int index)
Parameters
Returns
CalcNextPos(ComWrapper<ICamIpcMachineEvaluator>, TST5DPoint, bool, bool, bool)
Declaration
public static bool CalcNextPos(this ComWrapper<ICamIpcMachineEvaluator> evalCom, TST5DPoint p, bool alternate, bool checkAllVariants, bool ignoreRailsLimits)
Parameters
Returns
CalcNextPos5D(ComWrapper<ICamIpcMachineEvaluator>, TST5DPoint, bool, bool, bool)
Declaration
public static bool CalcNextPos5D(this ComWrapper<ICamIpcMachineEvaluator> evalCom, TST5DPoint p, bool alternate, bool checkAllVariants, bool ignoreRailsLimits)
Parameters
Returns
CalcNextPos6D(ComWrapper<ICamIpcMachineEvaluator>, TST3DMatrix, bool, bool)
Declaration
public static bool CalcNextPos6D(this ComWrapper<ICamIpcMachineEvaluator> evalCom, TST3DMatrix matrix, bool alternate, bool checkAllVariants)
Parameters
Returns
ChannelCount(ComWrapper<ICamIpcMachineEvaluator>)
Declaration
public static int ChannelCount(this ComWrapper<ICamIpcMachineEvaluator> evalCom)
Parameters
Returns
ChannelFeed(ComWrapper<ICamIpcMachineEvaluator>, int)
Current feedrate state of the channel at the given index (0..ChannelCount-1).
Declaration
public static TCamApiChannelFeedState ChannelFeed(this ComWrapper<ICamIpcMachineEvaluator> evalCom, int channelIndex)
Parameters
Returns
CurrentWorkpieceCSID(ComWrapper<ICamIpcMachineEvaluator>)
Current workpiece CS (G54) identifier, "G54" for example.
Declaration
public static string CurrentWorkpieceCSID(this ComWrapper<ICamIpcMachineEvaluator> evalCom)
Parameters
Returns
CurrentWorkpieceCSMatrix(ComWrapper<ICamIpcMachineEvaluator>)
Current workpiece CS (G54) matrix relative to the workpiece connector.
Declaration
public static TST3DMatrix CurrentWorkpieceCSMatrix(this ComWrapper<ICamIpcMachineEvaluator> evalCom)
Parameters
Returns
CurrentWorkpieceCSWorldMatrix(ComWrapper<ICamIpcMachineEvaluator>)
Current workpiece CS (G54) matrix relative to the world CS (WCS). Depends on TCPM mode.
Declaration
public static TST3DMatrix CurrentWorkpieceCSWorldMatrix(this ComWrapper<ICamIpcMachineEvaluator> evalCom)
Parameters
Returns
GeomToNc(ComWrapper<ICamIpcMachineEvaluator>, TST3DMatrix)
Convert a matrix from the geometric coordinate system to the NC coordinate system.
Declaration
public static TST3DMatrix GeomToNc(this ComWrapper<ICamIpcMachineEvaluator> evalCom, TST3DMatrix matrix)
Parameters
Returns
NcToGeom(ComWrapper<ICamIpcMachineEvaluator>, TST3DMatrix)
Convert a matrix from the NC coordinate system to the geometric coordinate system.
Declaration
public static TST3DMatrix NcToGeom(this ComWrapper<ICamIpcMachineEvaluator> evalCom, TST3DMatrix matrix)
Parameters
Returns
SetNextPos(ComWrapper<ICamIpcMachineEvaluator>, bool)
Set the machine to the position computed by the previous CalcNextPos* call.
Declaration
public static void SetNextPos(this ComWrapper<ICamIpcMachineEvaluator> evalCom, bool rotaryOnly)
Parameters
SetTcpmEnabled(ComWrapper<ICamIpcMachineEvaluator>, bool)
Enable or disable the Tool center point management (TCPM) mode.
Declaration
public static void SetTcpmEnabled(this ComWrapper<ICamIpcMachineEvaluator> evalCom, bool value)
Parameters
SpindleCount(ComWrapper<ICamIpcMachineEvaluator>)
Number of spindles in the machine schema.
Declaration
public static int SpindleCount(this ComWrapper<ICamIpcMachineEvaluator> evalCom)
Parameters
Returns
SpindleSpeed(ComWrapper<ICamIpcMachineEvaluator>, int)
Current speed state of the spindle at the given index (0..SpindleCount-1).
Declaration
public static TCamApiSpindleSpeedState SpindleSpeed(this ComWrapper<ICamIpcMachineEvaluator> evalCom, int spindleIndex)
Parameters
Returns
TcpmEnabled(ComWrapper<ICamIpcMachineEvaluator>)
Current state of the Tool center point management (TCPM) mode.
Declaration
public static bool TcpmEnabled(this ComWrapper<ICamIpcMachineEvaluator> evalCom)
Parameters
Returns
WorldWorkpieceConnectorMatrix(ComWrapper<ICamIpcMachineEvaluator>, int)
World position of the workpiece connector with the specified index.
Declaration
public static TST3DMatrix WorldWorkpieceConnectorMatrix(this ComWrapper<ICamIpcMachineEvaluator> evalCom, int workpieceConnectorIndex)
Parameters
Returns