GO2cam Pascal API

Functions

void ecycTRA_HELICE (double *point1, double *point2, double *point3, int Bval, double Rpas)
 Create helix toolpath for approach/return.
 
int lcycARC_APPRET (double *ptc, int *bsens)
 Read arc coordinates on first/last toolpath if exists.
 
void lcycDIST_VALIDE (int *bval)
 Read if rapid point app/ret calculated with distance
contained in the technologie
(bval = DPP_NON pour sous-poches bal/poc)
 
void lcycEXTREME_APPRET (int *ival)
 Read if 1st approach or last return (sub cycle)
 
void lcycPTS_APPRET (double *ptrap, double *ptusi)
 Read approach/return points and first/last point of
profiles in order to create any toolpath beetwen them
(helix, rampling,...)
 
int lcycTYPE_CYCLE (int *btype)
 Read type cycle of the selected cycle.
 
void lcycVEC_NORMAL (double *vnorm)
 Read normal vector from geometry plane.
 
void lcycVEC_TANGENT (double *vtgt)
 Read tangent vector from geometry plane.
 

Detailed Description

Approach / Return

Function Documentation

◆ ecycTRA_HELICE()

void ecycTRA_HELICE ( double * point1,
double * point2,
double * point3,
int Bval,
double Rpas )

Create helix toolpath for approach/return.

Parameters
[in]point1Starting point of the helix
[in]point2Ending point of the helix
[in]point3Center point of the helix
[in]Bvalsens DPP_TRIGO, DPP_HORAIRE
[in]RpasStep
Remarks
The step is modified to respect Point1 and Point2
this function create :
- technological function AGC_HELICE_MVT
- n arcs of 180 degrees
- technological function AGC_FIN_MVT
PCALL(ecycTRA_HELICE,pt1,pt2,pt3,DPP_TRIGO,2);
void ecycTRA_HELICE(double *point1, double *point2, double *point3, int Bval, double Rpas)
Create helix toolpath for approach/return.
Definition pa_cyc03.c:171

◆ lcycARC_APPRET()

int lcycARC_APPRET ( double * ptc,
int * bsens )

Read arc coordinates on first/last toolpath if exists.

Version
4.6
Parameters
[out]ptcarc center
[out]bsensarc way DPP_TRIGO / DPP_HORAIRE
Returns
SPI_YES arc existes | SPI_NO
is_crcl = ICALL(lcycARC_APPRET,ptc,sens);
int lcycARC_APPRET(double *ptc, int *bsens)
Read arc coordinates on first/last toolpath if exists.
Definition pa_cyc03.c:97

◆ lcycDIST_VALIDE()

void lcycDIST_VALIDE ( int * bval)

Read if rapid point app/ret calculated with distance
contained in the technologie
(bval = DPP_NON pour sous-poches bal/poc)

Parameters
[out]bvalSPI_YES / SPI_NO
PCALL(lcycDIST_VALIDE,bval);
void lcycDIST_VALIDE(int *bval)
Read if rapid point app/ret calculated with distance contained in the technologie (bval = DPP_NON...
Definition pa_cyc03.c:219

◆ lcycEXTREME_APPRET()

void lcycEXTREME_APPRET ( int * ival)

Read if 1st approach or last return (sub cycle)

Parameters
[out]ivalSPI_YES , SPI_NO
PCALL(lcycEXTREME_APPRET,ival);
void lcycEXTREME_APPRET(int *ival)
Read if 1st approach or last return (sub cycle)
Definition pa_cyc03.c:312

◆ lcycPTS_APPRET()

void lcycPTS_APPRET ( double * ptrap,
double * ptusi )

Read approach/return points and first/last point of
profiles in order to create any toolpath beetwen them
(helix, rampling,...)

Parameters
[out]ptrapapproach/return point
[out]ptusistarting point/ending point machining
PCALL(lcycPTS_APPRET,pt_app,pt_usi);
void lcycPTS_APPRET(double *ptrap, double *ptusi)
Read approach/return points and first/last point of profiles in order to create any toolpath beetwe...
Definition pa_cyc03.c:133

◆ lcycTYPE_CYCLE()

int lcycTYPE_CYCLE ( int * btype)

Read type cycle of the selected cycle.

Parameters
[out]btypeCycle type (DPP_CONTOURNAGE, ...)
Remarks
Don't forget to select the cycle
PCALL(lcycTYPE_CYCLE,type_cycle);
int lcycTYPE_CYCLE(int *btype)
Read type cycle of the selected cycle.
Definition pa_cyc03.c:341
See also
lcycSELECT_CYCLE

◆ lcycVEC_NORMAL()

void lcycVEC_NORMAL ( double * vnorm)

Read normal vector from geometry plane.

Parameters
[out]vnormnormal vector
PCALL(lcycVEC_NORMAL,vect);
void lcycVEC_NORMAL(double *vnorm)
Read normal vector from geometry plane.
Definition pa_cyc03.c:250

◆ lcycVEC_TANGENT()

void lcycVEC_TANGENT ( double * vtgt)

Read tangent vector from geometry plane.

Parameters
[out]vtgttangent vector
PCALL(lcycVEC_TANGENT,vect);
void lcycVEC_TANGENT(double *vtgt)
Read tangent vector from geometry plane.
Definition pa_cyc03.c:281