Class to manage techno functions / sub program call.
More...
|
|
| 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 () |
| 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 |
| 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.
stop_fct.CreateFunction(CONST_FCT_STOP)
stop_fct.Add(GO2SWay.before, cycles[0])
spg_call.CreateSpgCall(1, 1,
new GO2SXYZ(85, 0, 0))
spg_call.Add(GO2SWay.after, end_tag)
Class of machining utility methodes.
Definition GO2SMachiningUtil.hpp:19
static Array< GO2SCycle > GetAllCycles()
Helper class to create techno function cycle.
Definition GO2SFCTechno.hpp:201
static GO2STechnoFunc EndTag(Number subProgNb, GO2SCycle cycle, String label="")
static GO2STechnoFunc StartTag(Number subProgNb, GO2SCycle cycle, String label="")
GO2STechnoFunc()
Default constructor.
Creation of a coordinate reference.
Definition GO2SXYZ.hpp:89
◆ Add()
Add the techno function or the spg call in the machining tree
stop.
Add(GO2SWay.before, pocket)
static Array< GO2SCycleBase > GetByName(String name)
GO2SEnum::GO2SError Add(GO2SEnum::GO2SWay way, GO2SCycleBase cycle, Boolean isVisible=true)
- Returns
- GO2SError.success (0) if success, see GO2SError otherwise
- Parameters
-
| [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. |
◆ CreateFunction()
| 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
- Parameters
-
◆ CreateSpgCall()
| void GO2STechnoFunc::CreateSpgCall |
( |
Number | spgNumber, |
|
|
Number | manipType, |
|
|
GO2SXYZ | v, |
|
|
Number | value = 0, |
|
|
Number | numberOfCall = 1, |
|
|
String | name = "", |
|
|
String | comment = "" ) |
|
inline |
Initialize a subprogram call
- Parameters
-
| [in] | spgNumber | Subprogram number to call |
| [in] | manipType | Manipulation type to apply to the subprogram
- 1 : translation defined by v
- 2 : symmetry along the line crossing the point (v.X(), v.Y(), 0) with the angle 'value' in degree
- 3 : rotation of 'value' in degree around the point (v.X(), v.Y(), 0)
- 4 : homothety along the point (v.X(), v.Y(), 0) with the scale factor 'value'
- 5 : rotation along X axis with the angle 'value' in degree
- 6 : rotation along Y axis with the angle 'value' in degree
- 7 : rotation along Z axis with the angle 'value' in degree
- 8 : rotation along a line crossing the point defined by 'v' and parallel to X axis, with the angle 'value' in degree
|
| v | - 9 : rotation along a line crossing the point defined by 'v' and parallel to Y axis, with the angle 'value' in degree
- 10 : rotation along a line crossing the point defined by 'v' and parallel to Z axis, with the angle 'value' in degree - 11 : translation of 'v' + rotation of value' in degree[in] Parameters arrays for function
|
| [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 |
◆ GetFunctionList()
| Array< String > GO2STechnoFunc::GetFunctionList |
( |
| ) |
|
|
inline |
- Returns
- the list of function types and parameters