Class MachineEvaluatorHelper
Helper methods for ICamApiMachineEvaluator
Inherited Members
Namespace: CAMAPI.DotnetHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class MachineEvaluatorHelper
Methods
CalcNextPos(ComWrapper<ICamApiMachineEvaluator>, TST5DPoint, bool, bool, bool)
Calculate machine position by 5D point and AngleAroundTool. Result in NextPos
Declaration
public static bool CalcNextPos(this ComWrapper<ICamApiMachineEvaluator> evaluatorCom, TST5DPoint p, bool alternate, bool checkAllVariants, bool ignoreRailsLimits)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiMachineEvaluator> | evaluatorCom | Machine evaluator |
| TST5DPoint | p | 5D point |
| bool | alternate | take alternative solution |
| bool | checkAllVariants | check all solutions |
| bool | ignoreRailsLimits | ignore rails limits |
Returns
| Type | Description |
|---|---|
| bool | true if succeeded |
CalcNextPos5D(ComWrapper<ICamApiMachineEvaluator>, TST5DPoint, bool, bool, bool)
Calculate machine position by 5D point. Result in NextPos
Declaration
public static bool CalcNextPos5D(this ComWrapper<ICamApiMachineEvaluator> evaluatorCom, TST5DPoint p, bool alternate, bool checkAllVariants, bool ignoreRailsLimits)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiMachineEvaluator> | evaluatorCom | Machine evaluator |
| TST5DPoint | p | 5D point |
| bool | alternate | take alternative solution |
| bool | checkAllVariants | check all solutions |
| bool | ignoreRailsLimits | ignore rails limits |
Returns
| Type | Description |
|---|---|
| bool | true if succeeded |
CalcNextPos6D(ComWrapper<ICamApiMachineEvaluator>, TST3DMatrix, bool, bool)
Calculate machine position by 6D point. Result in NextPos
Declaration
public static bool CalcNextPos6D(this ComWrapper<ICamApiMachineEvaluator> evaluatorCom, TST3DMatrix p, bool alternate, bool checkAllVariants)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiMachineEvaluator> | evaluatorCom | Machine evaluator |
| TST3DMatrix | p | 6D point |
| bool | alternate | take alternative solution |
| bool | checkAllVariants | check all solutions |
Returns
| Type | Description |
|---|---|
| bool | true if succeeded |
GeomToNC(ComWrapper<ICamApiMachineEvaluator>, TST3DMatrix)
Convert matrix from geometry to NC coordinates
Declaration
public static TST3DMatrix GeomToNC(this ComWrapper<ICamApiMachineEvaluator> evaluatorCom, TST3DMatrix matrix)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiMachineEvaluator> | evaluatorCom | |
| TST3DMatrix | matrix |
Returns
| Type | Description |
|---|---|
| TST3DMatrix |
GetAbsoluteMatrix(ComWrapper<ICamApiMachineEvaluator>)
Get the absolute position of the current tool's coordinate system relative to the current workpiece coordinate system
Declaration
public static TST3DMatrix GetAbsoluteMatrix(this ComWrapper<ICamApiMachineEvaluator> evaluatorCom)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiMachineEvaluator> | evaluatorCom |
Returns
| Type | Description |
|---|---|
| TST3DMatrix |
NCToGeom(ComWrapper<ICamApiMachineEvaluator>, TST3DMatrix)
Convert matrix from NC to geometry coordinates
Declaration
public static TST3DMatrix NCToGeom(this ComWrapper<ICamApiMachineEvaluator> evaluatorCom, TST3DMatrix matrix)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiMachineEvaluator> | evaluatorCom | |
| TST3DMatrix | matrix |
Returns
| Type | Description |
|---|---|
| TST3DMatrix |
SetNextPos(ComWrapper<ICamApiMachineEvaluator>, bool)
Set the machine to the position by the previous call of CalcNextPos
Declaration
public static void SetNextPos(this ComWrapper<ICamApiMachineEvaluator> evaluatorCom, bool rotaryOnly)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiMachineEvaluator> | evaluatorCom | Machine evaluator |
| bool | rotaryOnly | If true, only rotary axes are moved |