Class MachineConfigurationRobot6thAxisControlHelper
Inheritance
MachineConfigurationRobot6thAxisControlHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class MachineConfigurationRobot6thAxisControlHelper
Methods
IsLeadDir(ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl>, out bool, out TRobot6thAxisLeadDirType)
Returns true if lead direction uses a preset axis (not Custom). Fills enabled and dirType.
Declaration
public static bool IsLeadDir(this ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl> com, out bool enabled, out TRobot6thAxisLeadDirType dirType)
Parameters
Returns
IsLeadDirCustom(ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl>, out bool, out TST3DPoint, out TST3DPoint)
Returns true if lead direction uses a custom vector. Fills enabled, fromPoint, toPoint.
Declaration
public static bool IsLeadDirCustom(this ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl> com, out bool enabled, out TST3DPoint fromPoint, out TST3DPoint toPoint)
Parameters
Returns
IsPoint(ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl>, out TRobot6thAxisPointType)
Returns true if mode is Point with a preset (not Custom). Fills pointType.
Declaration
public static bool IsPoint(this ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl> com, out TRobot6thAxisPointType pointType)
Parameters
Returns
IsPointCustom(ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl>, out TST3DPoint)
Returns true if mode is Point with a custom position. Fills customPoint.
Declaration
public static bool IsPointCustom(this ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl> com, out TST3DPoint customPoint)
Parameters
Returns
Returns true if mode is ToolPath. Fills angle, tangentApproxType, tangentApproxValue.
Declaration
public static bool IsToolPath(this ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl> com, out double angle, out TRobot6thAxisTangentApproxType tangentApproxType, out double tangentApproxValue)
Parameters
Returns
IsVector(ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl>, out TRobot6thAxisVecType)
Returns true if mode is Vector with a preset (not Custom). Fills vecType.
Declaration
public static bool IsVector(this ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl> com, out TRobot6thAxisVecType vecType)
Parameters
Returns
IsVectorCustom(ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl>, out TST3DPoint)
Returns true if mode is Vector with a custom direction. Fills customVec.
Declaration
public static bool IsVectorCustom(this ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl> com, out TST3DPoint customVec)
Parameters
Returns
Mode(ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl>)
Current 6th axis control mode
Declaration
public static TRobot6thAxisMode Mode(this ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl> com)
Parameters
Returns
SetLeadDir(ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl>, bool, TRobot6thAxisLeadDirType)
Set fixed lead direction with a preset axis (X/Y/Z)
Declaration
public static void SetLeadDir(this ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl> com, bool enabled, TRobot6thAxisLeadDirType dirType)
Parameters
SetLeadDirCustom(ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl>, bool, TST3DPoint, TST3DPoint)
Set fixed lead direction with a custom vector (fromPoint to toPoint)
Declaration
public static void SetLeadDirCustom(this ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl> com, bool enabled, TST3DPoint fromPoint, TST3DPoint toPoint)
Parameters
SetModePoint(ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl>, TRobot6thAxisPointType)
Set mode to Point with a preset
Declaration
public static void SetModePoint(this ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl> com, TRobot6thAxisPointType pointType)
Parameters
SetModePointCustom(ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl>, TST3DPoint)
Set mode to Point with a custom position
Declaration
public static void SetModePointCustom(this ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl> com, TST3DPoint customPoint)
Parameters
Set mode to ToolPath. Angle is angular deviation in degrees.
TangentApproxValue is percent (r6tatPercent) or distance (r6tatDistance)
Declaration
public static void SetModeToolPath(this ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl> com, double angle, TRobot6thAxisTangentApproxType tangentApproxType, double tangentApproxValue)
Parameters
SetModeVector(ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl>, TRobot6thAxisVecType)
Set mode to Vector with a preset direction
Declaration
public static void SetModeVector(this ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl> com, TRobot6thAxisVecType vecType)
Parameters
SetModeVectorCustom(ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl>, TST3DPoint)
Set mode to Vector with a custom direction vector
Declaration
public static void SetModeVectorCustom(this ComWrapper<ICamApiMachineConfigurationRobot6thAxisControl> com, TST3DPoint customVec)
Parameters