GO2cam Javascript API  6.11
GO2STechnoFuncCreate Class Reference

Helper class to create techno function cycle. More...

Inherits QObject.

Static Public Member Functions

static GO2STechnoFunc EndTag (Number subProgNb, GO2SCycle cycle, String label="")
 
static GO2STechnoFunc Function (Number function, Array< double > params=Array< double >(9), Number time=1.0, Number planNb=0, String name="", String comment="")
 See GO2STechnoFunc.CreateFunction()
 
static GO2STechnoFunc SpgCall (Number spgNumber, Number manipType, GO2SXYZ v, Number value=0, Number numberOfCall=1, String name="", String comment="")
 See GO2STechnoFunc.CreateSpgCall()
 
static Array< GO2STechnoFuncSpgTags (Number subProgNb, GO2SCycle start, GO2SCycle end, String label="")
 
static GO2STechnoFunc StartTag (Number subProgNb, GO2SCycle cycle, String label="")
 

Detailed Description

Helper class to create techno function cycle.

Member Function Documentation

◆ EndTag()

static GO2STechnoFunc GO2STechnoFuncCreate::EndTag ( Number subProgNb,
GO2SCycle cycle,
String label = "" )
static

Create the end tag of subprogram

var pocket = GO2SMachiningUtil.GetCycleByName("Pocket")[0]
var end = GO2SFCTechnoCreate.Endtag(1, pocket)
Class of machining utility methodes.
Definition GO2SMachiningUtil.hpp:19
Returns
a GO2STechnoFunc object of the end tag.
Parameters
[in]subProgNbSet subprogram number
[in]cyclePosition for end tag, place after the cycle
[in]labellabel

◆ SpgTags()

static Array< GO2STechnoFunc > GO2STechnoFuncCreate::SpgTags ( Number subProgNb,
GO2SCycle start,
GO2SCycle end,
String label = "" )
static

Create the start and end tag from a subprogram

var pocket = GO2SMachiningUtil.GetCycleByName("Pocket")[0]
var finishing = GO2SMachiningUtil.GetCycleByName("Finish Contour")[0]
GO2SFCTechnoCreate.SpgTags(1, pocket, finishing, "Maintenance")
Returns
An array of two GO2STechnoFunc object of the start and end tag.
Parameters
[in]subProgNbSet subprogram number
[in]startPosition for start tag, place before the cycle
[in]endPosition for end tag, place after the cycle
[in]labellabel

◆ StartTag()

static GO2STechnoFunc GO2STechnoFuncCreate::StartTag ( Number subProgNb,
GO2SCycle cycle,
String label = "" )
static

Create the start tag of subprogram

var pocket = GO2SMachiningUtil.GetCycleByName("Pocket")[0]
var start = GO2SFCTechnoCreate.StartTag(1, pocket)
Returns
a GO2STechnoFunc object of the start tag.
Parameters
[in]subProgNbSet subprogram number
[in]cyclePosition for start tag, place before the cycle
[in]labellabel