Class to manage techno functions / sub program call. More...
Public Member Functions | |
GO2STechnoFunc () | |
Default constructor. | |
GO2SEnum::GO2SError | Add (GO2SEnum::GO2SWay way, GO2SCycleBase cycle, Boolean isVisible=true) |
void | CreateFunction (Number key, Array< double > params=Array< double >(), Number time=1.0, Number planNb=0, String name="", String comment="") |
void | CreateSpgCall (Number spgNumber, Number manipType, GO2SXYZ v, Number value=0, Number numberOfCall=1, String name="", String comment="") |
Array< String > | GetFunctionList () |
Public Member Functions inherited from GO2SCycleBase | |
GO2SEnum::GO2SError | AddToFolder (String name) |
void | Delete () |
Delete a cycle/techno function. | |
String | GetName () |
Boolean | IsBatch () |
Boolean | IsError () |
Boolean | IsHidden () |
Boolean | IsSelect () |
void | SetBatch (Boolean isBatch) |
void | SetName (String name) |
Set the name of the cycle/techno function. | |
void | SetSelect (Boolean isSelected) |
String | toString () override |
Public Member Functions inherited from GO2SMachining | |
Array< String > | GetEditableParams () |
any | GetParam (Number key, Number noDevice=0) |
Boolean | IsParamEditable (Number key) |
GO2SEnum::GO2SError | SetParam (Number key, any value, Number noDevice=0) |
Class to manage techno functions / sub program call.
GO2SEnum::GO2SError GO2STechnoFunc::Add | ( | GO2SEnum::GO2SWay | way, |
GO2SCycleBase | cycle, | ||
Boolean | isVisible = true ) |
Add the techno function or the spg call in the machining tree
[in] | way | Choose if added before or after cycle. See GO2SEnum::GO2SWay. |
[in] | cycle | Cycle already existing in the machining tree to to place the function before or after. |
[in] | isVisible | Set if techno cycle will be visible in tree. |
void GO2STechnoFunc::CreateFunction | ( | Number | key, |
Array< double > | params = Array< double >(), | ||
Number | time = 1.0, | ||
Number | planNb = 0, | ||
String | name = "", | ||
String | comment = "" ) |
Initialize a techno function
[in] | key | Function key.See GO2STechnoFunc::GetFunctionList to get the list of available keys. See https://go2cam.scrollhelp.site/en/go2cam/V611/aa-techno-functions to know more about techno functions. |
[in] | params | Parameters of the function. This array can have a maximum 9 values depending of the key |
[in] | time | Duration of the function in seconds |
[in] | planNb | Plan number |
[in] | name | Name of function in machining tree |
[in] | comment | Comment |
|
inline |
Initialize a subprogram call
[in] | spgNumber | Subprogram number to call |
[in] | manipType | Manipulation type to apply to the subprogram
|
v | - 9 : rotation along a line crossing the point defined by 'v' and parallel to Y axis, with the angle 'value' in degree
| |
[in] | value | Value to set angle or coef depending on manipulation type |
[in] | numberOfCall | Number of calls of the subprogram |
[in] | name | Name of the call in machining tree |
[in] | comment | Comment |
|
inline |