gCAD3D 2.40
prc_cut1__.c File Reference

process cut (Numeric Control) More...

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_cast.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_TX.h"
#include "../ut/ut_txTab.h"
#include "../ut/ut_os.h"
#include "../ut/ut_ox_base.h"
#include "../xa/xa_mem.h"
#include "../xa/xa_ui.h"
#include "../xa/xa_msg.h"
#include "../xa/xa.h"
#include "../ut/func_types.h"
#include "../ut/gr_types.h"
#include "../prc/prc_cut1__.h"
#include "../gui/gui__.h"

Data Structures

struct  Tool
 

Macros

#define TLTABSIZ   100
 
#define cmd_SIZ   100
 
#define iAtt_rp   20
 
#define iAtt_cut   21
 
#define iAtt_tlrp   22
 
#define TAB_SIZ   1000
 

Functions

char ** PRCE_lst_postprocs (char *sproc)
 
int PRCE_selMen_cb (MemObj *mo, void **data)
 
int PRCE__ (int iFnc, char *data)
 
int PRCE_disp__ (char *wTyp)
 
int PRCE_disp_ln (int iatt)
 
int PRCE_disp_ci ()
 
int PRCE_disp_txt (char *txt)
 
int PRCE_func__ (char *data)
 
int PRCE_m3Menu__ (int mode)
 
int PRCE_init_dat ()
 
int PRCE_cmd_work__ (char *data)
 
int PRCE_Out_ck_plg (char *wTyp, int ptNr, Point *pta)
 
int PRCE_Out_ck_C (char *wTyp)
 
int PRCE_Out__ (char *wTyp)
 
int PRCE_Out_clr_up ()
 
int PRCE_Out_write_from ()
 
int PRCE_Out_write_ln (char *wTyp)
 
int PRCE_Out_write_ci (char *wTyp)
 
int PRCE_Out_write_txt (char *txt)
 
int PRCE_tb_init ()
 
int PRCE_tb_win (MemObj *mo, void **data)
 
int PRCE_tb_exit ()
 
int PRCE_pp__ ()
 

Variables

double APT_ModSiz
 
double * SRC_ato_tab
 
MemObj UIw_Box_TB
 
Point oldPos
 
Point actPos
 
Circ actCir
 
double actZsur1
 
double actZclr1
 
int rapid = -1
 
int tlActNr = -1
 
char outBuf [256]
 
Tool tlTab [TLTABSIZ]
 
int cmd_anz
 
int * cmd_typ
 
double * cmd_tab
 
static MemObj PRCE_tb__ = GUI_OBJ_NEW
 
int PRCE_mode =0
 
FILE * PRCE_fpo =NULL
 
char spprc [128]
 

Detailed Description

process cut (Numeric Control)

=====================================================
List_functions_start:
PRCE__ main entry
PRCE_cmd_work__ WORK L C S
PRCE_disp__ display cut-path; lin or circ.
PRCE_disp_ln
PRCE_Out_ck_plg test polygon normal/revers
PRCE_Out_ck_C test circle normal/revers
PRCE_Out__ "G1 "|"G2 "|"G3 "
List_functions_end:
=====================================================

Macro Definition Documentation

#define TLTABSIZ   100
#define cmd_SIZ   100
#define iAtt_rp   20
#define iAtt_cut   21
#define iAtt_tlrp   22
#define TAB_SIZ   1000

Function Documentation

char ** PRCE_lst_postprocs ( char *  sproc)
int PRCE_selMen_cb ( MemObj mo,
void **  data 
)
int PRCE__ ( int  iFnc,
char *  data 
)

export nc

Input: iFnc >=0 index into NCCmdTab -1 function data additional text for nc-func NCCmdTab[iFnc]

int PRCE_disp__ ( char *  wTyp)
int PRCE_disp_ln ( int  iatt)
int PRCE_disp_ci ( )
int PRCE_disp_txt ( char *  txt)
int PRCE_func__ ( char *  data)
int PRCE_m3Menu__ ( int  mode)
int PRCE_init_dat ( )
int PRCE_cmd_work__ ( char *  data)
int PRCE_Out_ck_plg ( char *  wTyp,
int  ptNr,
Point pta 
)
int PRCE_Out_ck_C ( char *  wTyp)
int PRCE_Out__ ( char *  wTyp)
int PRCE_Out_clr_up ( )
int PRCE_Out_write_from ( )
int PRCE_Out_write_ln ( char *  wTyp)
int PRCE_Out_write_ci ( char *  wTyp)
int PRCE_Out_write_txt ( char *  txt)
int PRCE_tb_init ( )
int PRCE_tb_win ( MemObj mo,
void **  data 
)
int PRCE_tb_exit ( )
int PRCE_pp__ ( )

Variable Documentation

double APT_ModSiz
double* SRC_ato_tab
* used for objData in APT_decode_ausdr
* in IE: memspc54
*
MemObj UIw_Box_TB
Point oldPos
Point actPos
Circ actCir
double actZsur1
double actZclr1
int rapid = -1
int tlActNr = -1
char outBuf[256]
Tool tlTab[TLTABSIZ]
int cmd_anz
int* cmd_typ
double* cmd_tab
MemObj PRCE_tb__ = GUI_OBJ_NEW
static
int PRCE_mode =0
FILE* PRCE_fpo =NULL
char spprc[128]