GO2cam Pascal API

Functions

void SPECIF_canned_end (double Rzret, double Rxret, int Icad)
 Allows to filter or to modify return points
in CAN turning.
The points in the toolpath box are deleted.
The points coordinates are limited according to Icad.
 
void SPECIF_cut_file_add (const std::string &Snom)
 Allows to add a file name in the tapes list.
Useful to add a file name which is not opened
by PPG, as files opened with
COUPE_RUBAN,BIS_OPEN,... are automatically added.
 
void SPECIF_cut_file_del (const std::string &Snom, int Bsup)
 Allows to delete a file name in the tapes list.
Also allows to physically delete the file.
Useful mainly to delete the first file, when
particular file names are created (EDM).
 
void SPECIF_file_name (const std::string &Str80)
 modify tape name
 
void SPECIF_first_tool (int Btypusi, int Bval)
 initializes TEST_first_tool_turning or TEST_first_tool_milling
 
void SPECIF_init_hole ()
 initializes TEST_first_hole --> CONST_YES
 
void SPECIF_init_origin (double Rx, double Ry, double Rz)
 Initialize origin coordinates for plane.
 
void SPECIF_loop_nb (int Ival)
 Allows to loop several times on the milling or wire
operations list, as it is done in turning with n channels.
Accessible at debut_fichier.
 

Detailed Description

processing change

Function Documentation

◆ SPECIF_canned_end()

void SPECIF_canned_end ( double Rzret,
double Rxret,
int Icad )

Allows to filter or to modify return points
in CAN turning.
The points in the toolpath box are deleted.
The points coordinates are limited according to Icad.

Version
4.4
Parameters
[in]RzretZ can end
[in]RxretX can end
[in]Icaddirection allowed in return
5 only the toolpath box is tested
1,2,3,4,6,7,8,9 "numerical keyboard" direction
10 auto direction (1,3,7,9)
11 perp pass auto direction (2,4,6,8)
12 pass direction auto direction (2,4,6,8)
PCALL(SPECIF_canned_end,pt[0],pt[1],10);
void SPECIF_canned_end(double Rzret, double Rxret, int Icad)
Allows to filter or to modify return points in CAN turning. The points in the toolpath box are de...
Definition pp_pas23.c:63

◆ SPECIF_cut_file_add()

void SPECIF_cut_file_add ( const std::string & Snom)

Allows to add a file name in the tapes list.
Useful to add a file name which is not opened
by PPG, as files opened with
COUPE_RUBAN,BIS_OPEN,... are automatically added.

Version
4.4
Parameters
[in]Snomcomplete file name

◆ SPECIF_cut_file_del()

void SPECIF_cut_file_del ( const std::string & Snom,
int Bsup )

Allows to delete a file name in the tapes list.
Also allows to physically delete the file.
Useful mainly to delete the first file, when
particular file names are created (EDM).

Version
4.4
       <br> CONST_YES                physical deletion of file
       <br> CONST_NO                list only deletion

◆ SPECIF_file_name()

void SPECIF_file_name ( const std::string & Str80)

modify tape name

Version
5.1
Parameters
[in]Str80tape name
PCALL(SPECIF_file_name,striso);
void SPECIF_file_name(const std::string &Str80)
modify tape name
Definition pp_pas23.c:195
See also
READ_PART_isofile READ_PART_file_name

◆ SPECIF_first_tool()

void SPECIF_first_tool ( int Btypusi,
int Bval )

initializes TEST_first_tool_turning or TEST_first_tool_milling

Parameters
[in]BtypusiCONST_CYCLE_MILLING
CONST_TURNING
[in]BvalCONST_YES
CONST_NO
IF (ICALL(TEST_milling_cycle) = CONST_YES) THEN
PCALL(SPECIF_first_tool,CONST_TURNING,CONST_YES);
void SPECIF_first_tool(int Btypusi, int Bval)
initializes TEST_first_tool_turning or TEST_first_tool_milling
Definition pp_pas23.c:224
int TEST_milling_cycle()
milling cycle ? In Turnmill, determine if it is a milling cycle. It is commonly used in Operation...
Definition pp_pas32.c:454

◆ SPECIF_init_hole()

void SPECIF_init_hole ( )

initializes TEST_first_hole --> CONST_YES

PCALL(READ_PART_cycle_no,int_CycleNo);
IF ((int_CycleNo = CONST_CYCLE_POINT_TO_POINT) and (ICALL(SPECIF_init_hole) = CONST_YES)) then
BEGIN
PCALL(OUTPUT_NC_TAB_STR,'CO','this ia first_hole!!',1);
WRITEB;
END;
void READ_PART_cycle_no(int *Btyp)
reading of GO2cam cycle type in progress Reserve this processing for very particular cases....
Definition pp_pas30.c:3200
void SPECIF_init_hole()
initializes TEST_first_hole --> CONST_YES
Definition pp_pas23.c:140

◆ SPECIF_init_origin()

void SPECIF_init_origin ( double Rx,
double Ry,
double Rz )

Initialize origin coordinates for plane.

Parameters
[in]RxX origin coordinate
[in]RyY origin coordinate
[in]RzZ origin coordinate
PCALL(SPECIF_init_origin,0.0,0.0,10.0);
void SPECIF_init_origin(double Rx, double Ry, double Rz)
Initialize origin coordinates for plane.
Definition pp_pas23.c:109
See also
WRITE_NC_plane_origin

◆ SPECIF_loop_nb()

void SPECIF_loop_nb ( int Ival)

Allows to loop several times on the milling or wire
operations list, as it is done in turning with n channels.
Accessible at debut_fichier.

Version
4.4
Parameters
[in]Ivalnumber of loops