NC_Main.c File Reference


Detailed Description

Mainmodule NC_CommandInterpreter.

=====================================================
Liste_Funktionen_Beginn:

WC_Work__         mainFunc; test for submodels
WC_Work1          mainFunc
APT_work_def      work DefinitionLine (decodieren, in DB-speichern, darstellen)
APT_work_PrgCmd   work programcodes
APT_work_NCCmd
APT_stack_NCCmd

APT_decode__
APT_decode_objTx  Create struct from ModelCode

APT_PP_FROM
APT_PP_Write_Lin
APT_PP_Write_Cir
APT_PP_Write
APT_PP_WriOut
APT_ausg_chTool
APT_ausg_NCCmd
APT_transl_rad
APT_transform
APT_transl2       rel coords -> abs coords
APT_rotate3       unused
APT_alloc1        realloc NC_stat__

APT_Draw__        draw (load from DB, APT_DrawXX)
APT_DrawPoint
APT_DrawLine
APT_DrawCirc
APT_DrawCurv
APT_DrawDim3
APT_DrawDimen
APT_DrawTxtG
APT_DrawTxtA
APT_DrawSol
APT_DrawPln
APT_DrawSur
APT_DrawModel

APT_hiliObj
APT_disp_obj      PT,LN,AC,POL2
APT_disp_TxtG
APT_disp_TxtA
APT_disp_SymB
APT_disp_SymV
APT_disp_SymV1    Vektor-Symbole darstellen
APT_disp_SymV2    Vektor-Symbole darstellen und in der X-Y-Ebene drehen (2D-rot)
APT_disp_Vec      Vektor-Symbole darstellen
APT_disp_SymV3
APT_disp_ln
APT_disp_ac
APT_disp_cv
APT_disp_nam      display objName at objPosition

APT_curv2ptArr    Polygonpoints into 2D-pointArray

APT_Lay_add

PP_up_list
APT_get_dreh
WC_ask_ModSiz     return APT_ModSiz   see WC_Init_Modsiz WC_Init_Tol
WC_ask_WC_mode    return WC_mode
WC_ask_actPos     return actPosU
WC_ask_actZsur    return WC_sur_Z
WC_ask_Zsur1      return WC_sur1
WC_ask_Zsur2      return WC_sur2

APT_do_auxCmd     handle change Graf. Attribut u. Refsys
APT_eval_if       evaluate expression
APT_UP_get        give APT_line_act of calling line ..
APT_UP_up         .
APT_UP_down
APT_line_set
AP_mdGet          query subModelLevel & APT-LineNr of active subModelCall
WC_get_obj_typ    der Typ des zuletzt generierten Objekts
WC_get_obj_stat   0=OK, 1=workmode
WC_set_obj_stat   0=OK, 1=workmode
WC_Init_all       0=normal, 1=PP
WC_PP_open
WC_Init_Modsiz    see WC_ask_ModSiz
WC_Init_Tol       recompute all tolerances from APT_ModSiz
WC_Init
APT_Init
APT_reset_view_stat
APT_get_view_stat
APT_set_view_stat
UCS_Reset         see AP_Init_planes GL_SetConstrPln
APT_Reset
WC_EOF
WC_setDisp3D      switch 3D-mode/2D-mode
NC_set_actPos
NC_getGrafAtt     ret GR_Att_act
NC_setGrafAtt     set GR_Att_act
NC_setModSiz      set APT_ModSiz
NC_setRefsys      Change active Plane
WC_actPos_disp
WC_setPosKreuz    disp cross
WC_actPos_save
WC_actPos_dump
WC_actPos_reset

WC_ask_actObj

Liste_Funktionen_Ende:
=====================================================

#include "../xa/MS_Def0.h"
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_TX.h"
#include "../ut/ut_obj.h"
#include "../ut/ut_txfil.h"
#include "../ut/ut_os.h"
#include "../db/ut_DB.h"
#include "../xa/xa.h"
#include "../xa/xa_mem.h"
#include "../gr/ut_gr.h"
#include "../gr/ut_DL.h"
#include "../xa/xa_ed.h"
#include "../xa/xa_ga.h"
#include "../ci/NC_Main.h"
#include "../ci/NC_apt.h"
#include "../ci/NC_drill.h"
#include "../xa/xa_uid.h"
#include "../gr/ut_UI.h"

Defines

#define PrgMod_normal   0
#define PrgMod_skip_until_label   2
#define PrgMod_skip_until_macend   3
#define PrgMod_skip_until_mac   4
#define PrgMod_skip_until_line   5
#define PrgMod_skip_until_file   6
#define PrgMod_continue_file   7
#define PrgMod_continue_mac   8
#define UP_level_max   16

Functions

int AP_mdGet (int *lnr)
int WC_get_obj_typ ()
int WC_get_obj_stat ()
int WC_set_obj_stat (int stat)
void WC_Init_all (int mode)
int WC_PP_open (int mode)
int WC_Init_Modsiz (double newssiz)
void WC_Init_Tol ()
void WC_Init ()
void APT_Init ()
int APT_reset_view_stat ()
int APT_get_view_stat ()
int APT_set_view_stat ()
void UCS_Reset ()
void APT_Reset ()
void WC_EOF ()
void WC_setDisp3D (int mode)
void NC_set_actPos (Point2 *posU)
int NC_getGrafAtt ()
void NC_setGrafAtt (int AttInd)
int NC_setModSiz (double modSiz)
int NC_setRefsys (int RefInd)
int WC_actPos_disp ()
void WC_setPosKreuz ()
int WC_actPos_save (int mode)
int WC_actPos_dump ()
int WC_actPos_reset (int lNr)
int WC_Work__ (int lNr, char *cbuf)
int WC_Work1 (int lNr, char *cbuf)
int APT_do_auxCmd (int *i_typ, double *i_tab)
int APT_work_def (char *cmdIn, char **data)
int APT_Draw__ (int iAtt, int typ, long ind)
int APT_eval_if (int *aus_typ, double *aus_tab)
int APT_work_PrgCmd (char *cmdIn, char **data)
int APT_line_set (int i1)
int APT_UP_get ()
int APT_UP_up (char src)
int APT_UP_down ()
int APT_work_NCCmd (char *cmdIn, char **data)
int APT_stack_NCCmd (char *buf, int symbol)
void APT_PP_FROM ()
int APT_PP_Write_Lin (Point *pt1)
int APT_PP_Write_Cir (Circ *ci1)
int APT_PP_Write ()
int APT_PP_WriOut (char *txOut)
int APT_ausg_chTool (char *buf)
int APT_ausg_NCCmd (int mode)
double APT_transl_rad (double rad_in)
int APT_transform (Point *pt1)
Point2 APT_transl2 (Point2 *ptin)
Point2 APT_rotate3 (Point *ptin)
int APT_alloc1 (long Ind)
int APT_disp_obj (ObjG2 *obj1, int attr, double zval)
int APT_DrawDim3 (int typ, long apt_ind, ObjGX *dim3)
void APT_DrawDimen (int typ, long apt_ind, ObjGX *dim1)
void APT_DrawTxtG (int typ, long apt_ind, GText *tx1)
int APT_DrawTxtA (int typ, long apt_ind, AText *tx1)
int APT_DrawSol (int typ, long apt_ind)
int APT_DrawPln (int typ, long objInd, Plane *pl1)
int APT_DrawSur (int att, long apt_ind)
void APT_DrawModel (int typ, long apt_ind, ModelRef *mod1)
void APT_disp_TxtG (int typ, Point *pt1, float size, float angle, char *txt)
void APT_disp_TxtA (int typ, Point *pt1, char *txt)
int APT_disp_SymB (int typ, int att, Point *pt1)
void APT_disp_SymV (int typ, int att, Point2 *pt1, double scale)
void APT_disp_SymV1 (int typ, int att, Point *p1, double scale)
void APT_disp_SymV2 (int typ, int att, Point *pt1, Point *pt2, double scale)
void APT_disp_Vec (int att, long dli, Point *pt1, Vector *vc1)
void APT_disp_SymV3 (int typ, int att, Point *pt1, Vector *vc1, double scale)
void APT_disp_ln (Point2 *pt1, Point2 *pt2, int attInd, double zval1, double zval2)
void APT_disp_ac (ObjG2 *objU, int attInd, double zval)
void APT_disp_cv (ObjG2 *objU, int attInd, double zval)
void APT_disp_nam (int typ, long ind, void *e1)
int PP_up_list (NC_up_rec **upAct, char *macnam, int workmode)
void APT_get_dreh (int *Dreh, double *rad_o, double rad_i)
int WC_ask_WC_mode ()
Point2 WC_ask_actPos ()
double WC_ask_actZsur ()
double WC_ask_Zsur2 ()
double WC_ask_Zsur1 ()
double WC_ask_ModSiz ()
ObjG2 WC_ask_actObj ()
void APT_DrawPoint (int Typ, long objInd, Point *pt1)
void APT_DrawLine (int Typ, long objInd, Line *ln1)
void APT_DrawCirc (int Typ, long objInd, Circ *ci1)
void APT_DrawCurv (int att, long objInd, ObjGX *cv1, double zval)
void APT_curv2ptArr (Point2 *pta, int *ianz, ObjG2 *o1)
void APT_hiliObj (long *ind, ObjG2 *o1, int att, double zval)
int APT_Lay_add (int layNr, int aus_anz, char *sptr, int *aus_typ, double *aus_tab)
int APT_decode__ (int **atyp, double **atab, char **data)
int APT_decode_objTx (void *data, int typ, char *cbuf)

Variables

AP_STAT AP_stat
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
int aus_SIZ
 size of aus_typ & aus_tab
int aus_anz
int * aus_typ
double * aus_tab
int AP_src
 AP_SRC_MEM or AP_SRC_EDI.
char AP_dir_open [128]
 directory for OPEN
char WC_modnam [128]
 active Modelname - without path
char WC_modact [128]
 name of the active submodel; def="" (main)
int WC_modnr
 the Nr of the active submodel; -1 = main.
int WC_mod_stat
 -1=primary Model is active;
Point WC_mod_ori
 der Model-Origin
int WC_sur_ind
 Der Index auf die ActiveConstrPlane.
Plane WC_sur_act
 die fuer Definition (zB P10=0,0) aktive Plane
Mat_4x3 WC_sur_mat
 TrMat of ActiveConstrPlane.
Mat_4x3 WC_sur_imat
 inverse TrMat of ActiveConstrPlane
double WC_sur_Z
 active Z-value of WC_sur_sur;
char WC_ConstPl_Z [16]
 ConstPl-Z-axis (DZ, ...R20 ...
double AP_txsiz
 Notes-Defaultsize.
double AP_txdimsiz
 Dimensions-Text-Defaultsize.
int AP_txNkNr
 Nachkommastellen.
ColRGB AP_defcol
 die DefaultColor des aktiven (sub)Model
int AP_indCol
 der DL-Index der aktuellen defCol
int APT_mac_fil
double GR_tx_scale
int TSU_mode
PointGLT_pta
long GLT_pta_SIZ
ObjGXGLT_cta
long GLT_cta_SIZ
long DL_ind_act
static long NC_stat_SIZ = 0
static long NC_stat_IND = 0
static NC_recTypNC_stat__
static long obj_ind_act
int AP_mdLev
static int AP_mdLnr [12]
static int AP_mdLne [12]
int WC_mode
int APT_3d_mode = OFF
int APT_2d_to_3d_Ind = 0
int APT_2d_to_3d_mode = OFF
Mat_4x3 APT_2d_to_3d_Mat
Plane APT_2d_to_3d_Pln
static int APT_view_stat
Point APT_tcpos
double APT_Z_clear
double APT_Z_deep
int APT_workmode
int APT_obj_stat
int APT_obj_typ
double APT_pock_distk = 1.0
double APT_pock_distc = 1.0
double APT_pock_dirc = 0.
Memspc APTSpcObj
Memspc APTSpcTmp
double WC_sur1 = 0.0
double WC_sur2_Def = 50.1
double WC_sur2 = 50.1
double WC_thick = 50.0
double WC_sur3 = 0.0
int APT_konik = 0
int APT_dispNam
int APT_dispNCCmd
int APT_dispPT = ON
int APT_dispPL = ON
int APT_dispSOL = ON
int APT_disp3D = ON
int APT_TL_Side = 0
int NC_TL_act = -1
Point2 actPosO
Point2 actPosOtr
Vector2 actVecO
Point2 actPosU
Point2 actPosUtr
int APT_ObjU_anz
int APT_ObjO_anz
ObjG2 APT_ObjU [20]
ObjG2 APT_ObjO [20]
ObjG2 old_APT_ObjU
ObjG2 old_APT_ObjUtr
ObjG2 old_APT_ObjOtr
ObjG2 old_APT_ObjO
int APT_tra
int APT_mirr
int APT_proj
Mat_4x3 APT_mat_tra
Mat_4x3 APT_mat_mirr
Mat_4x3 APT_mat_proj
Plane APT_pln_tra
int NC_rapid
int NC_work_modeU
NC_up_recNC_up_act
int APTsw_poly = OFF
int APTsw_poly_acln = OFF
static int UpMirX
static int UpMirY
static Point2 UpOri
static Point2 UpFrom
static double UpOriAng
static double UpOriAng_sin
static double UpOriAng_cos
static Point2 RefOri
static double RefOriAng
static double RefOriAng_sin
static double RefOriAng_cos
static int UP_mode = OFF
int UP_resolv = ON
char UP_act_typ
static char UP_typ_DE
static char UP_level_typ [16]
static char UP_level_src [16]
static int UP_level_adr [16]
int UP_level
static int UP_workmode
static int Prg_line_nr
int APT_line_cnt = 0
int APT_line_act
int APT_line_old = 0
int APT_line_stat
static char APT_label [64]
static char APT_macnam [64]
static char APT_filnam [128]
int APT_stat_act
int APT_OPSTOP_stat = ON
int APT_tl_stat = 0
int APT_tl_act = 0
int APT_start = OFF
int APT_Stat_Draw = ON
int APT_stat_FROM = OFF
static int l_irc = 25
static int fpOutAnz
int GR_Att_act
int GR_lay_act = 0
int GR_pick = OFF
static int NCCmdAnz = 50
static char * NCCmdTab []
static int PrgCmdAnz = 40
static char * PrgCmdTab []
char WC_outBuf [256]
static FILE * APT_fpOut = NULL
static char insBuf [10][64]
static int insAnz
static int insCnt [10]
static int insSym [10]
double APT_ModSiz = 500.
double APT_TOL_ac = 0.1
double APT_ln_len = 100.0
char * APT_defTxt
int APT_prim_typ


Define Documentation

#define PrgMod_normal   0

#define PrgMod_skip_until_label   2

#define PrgMod_skip_until_macend   3

#define PrgMod_skip_until_mac   4

#define PrgMod_skip_until_line   5

#define PrgMod_skip_until_file   6

#define PrgMod_continue_file   7

#define PrgMod_continue_mac   8

#define UP_level_max   16


Function Documentation

int AP_mdGet ( int *  lnr  ) 

query subModelLevel & APT-LineNr of active subModelCall RetCod: AP_mdLev -1 im primary Model 0-12 im subModel

int WC_get_obj_typ (  ) 

int WC_get_obj_stat (  ) 

0=OK, 1=workmode (obj in statu nascendi; see APT_decode_ccv)

int WC_set_obj_stat ( int  stat  ) 

0=OK, 1=workmode (obj in status nascendi; see APT_decode_ccv)

void WC_Init_all ( int  mode  ) 

int WC_PP_open ( int  mode  ) 

int WC_Init_Modsiz ( double  newssiz  ) 

see WC_ask_ModSiz

void WC_Init_Tol (  ) 

compute all Tolerances from APT_ModSiz

void WC_Init (  ) 

void APT_Init (  ) 

int APT_reset_view_stat (  ) 

int APT_get_view_stat (  ) 

int APT_set_view_stat (  ) 

void UCS_Reset (  ) 

see AP_Init_planes see GL_SetConstrPln

void APT_Reset (  ) 

void WC_EOF (  ) 

void WC_setDisp3D ( int  mode  ) 

ON = 3D; else 2D

void NC_set_actPos ( Point2 posU  ) 

int NC_getGrafAtt (  ) 

void NC_setGrafAtt ( int  AttInd  ) 

set GR_Att_act

int NC_setModSiz ( double  modSiz  ) 

int NC_setRefsys ( int  RefInd  ) 

int WC_actPos_disp (  ) 

void WC_setPosKreuz (  ) 

int WC_actPos_save ( int  mode  ) 

int WC_actPos_dump (  ) 

int WC_actPos_reset ( int  lNr  ) 

int WC_Work__ ( int  lNr,
char *  cbuf 
)

int WC_Work1 ( int  lNr,
char *  cbuf 
)

int APT_do_auxCmd ( int *  i_typ,
double *  i_tab 
)

handle change Graf. Attribut u. Refsys

int APT_work_def ( char *  cmdIn,
char **  data 
)

    Work DefinitionLine (decode, store obj in DB, display obj).
    RetCod: defTyp.

int APT_Draw__ ( int  iAtt,
int  typ,
long  ind 
)

    obj ex DB laden (DB_GetXX), ausgeben via APT_DrawXX
    create/modify obj: see DL_SetInd

int APT_eval_if ( int *  aus_typ,
double *  aus_tab 
)

evaluate expression;

int APT_work_PrgCmd ( char *  cmdIn,
char **  data 
)

int APT_line_set ( int  i1  ) 

int APT_UP_get (  ) 

returns APT_line_act of calling line ..

int APT_UP_up ( char  src  ) 

int APT_UP_down (  ) 

int APT_work_NCCmd ( char *  cmdIn,
char **  data 
)

int APT_stack_NCCmd ( char *  buf,
int  symbol 
)

void APT_PP_FROM (  ) 

int APT_PP_Write_Lin ( Point pt1  ) 

int APT_PP_Write_Cir ( Circ ci1  ) 

int APT_PP_Write (  ) 

int APT_PP_WriOut ( char *  txOut  ) 

int APT_ausg_chTool ( char *  buf  ) 

int APT_ausg_NCCmd ( int  mode  ) 

double APT_transl_rad ( double  rad_in  ) 

int APT_transform ( Point pt1  ) 

Point2 APT_transl2 ( Point2 ptin  ) 

Point2 APT_rotate3 ( Point ptin  ) 

int APT_alloc1 ( long  Ind  ) 

int APT_disp_obj ( ObjG2 obj1,
int  attr,
double  zval 
)

int APT_DrawDim3 ( int  typ,
long  apt_ind,
ObjGX dim3 
)

void APT_DrawDimen ( int  typ,
long  apt_ind,
ObjGX dim1 
)

void APT_DrawTxtG ( int  typ,
long  apt_ind,
GText tx1 
)

int APT_DrawTxtA ( int  typ,
long  apt_ind,
AText tx1 
)

int APT_DrawSol ( int  typ,
long  apt_ind 
)

int APT_DrawPln ( int  typ,
long  objInd,
Plane pl1 
)

int APT_DrawSur ( int  att,
long  apt_ind 
)

void APT_DrawModel ( int  typ,
long  apt_ind,
ModelRef mod1 
)

void APT_disp_TxtG ( int  typ,
Point pt1,
float  size,
float  angle,
char *  txt 
)

void APT_disp_TxtA ( int  typ,
Point pt1,
char *  txt 
)

int APT_disp_SymB ( int  typ,
int  att,
Point pt1 
)

void APT_disp_SymV ( int  typ,
int  att,
Point2 pt1,
double  scale 
)

void APT_disp_SymV1 ( int  typ,
int  att,
Point p1,
double  scale 
)

void APT_disp_SymV2 ( int  typ,
int  att,
Point pt1,
Point pt2,
double  scale 
)

void APT_disp_Vec ( int  att,
long  dli,
Point pt1,
Vector vc1 
)

void APT_disp_SymV3 ( int  typ,
int  att,
Point pt1,
Vector vc1,
double  scale 
)

void APT_disp_ln ( Point2 pt1,
Point2 pt2,
int  attInd,
double  zval1,
double  zval2 
)

void APT_disp_ac ( ObjG2 objU,
int  attInd,
double  zval 
)

void APT_disp_cv ( ObjG2 objU,
int  attInd,
double  zval 
)

void APT_disp_nam ( int  typ,
long  ind,
void *  e1 
)

int PP_up_list ( NC_up_rec **  upAct,
char *  macnam,
int  workmode 
)

void APT_get_dreh ( int *  Dreh,
double *  rad_o,
double  rad_i 
)

int WC_ask_WC_mode (  ) 

Point2 WC_ask_actPos (  ) 

double WC_ask_actZsur (  ) 

double WC_ask_Zsur2 (  ) 

double WC_ask_Zsur1 (  ) 

double WC_ask_ModSiz (  ) 

ObjG2 WC_ask_actObj (  ) 

void APT_DrawPoint ( int  Typ,
long  objInd,
Point pt1 
)

void APT_DrawLine ( int  Typ,
long  objInd,
Line ln1 
)

void APT_DrawCirc ( int  Typ,
long  objInd,
Circ ci1 
)

void APT_DrawCurv ( int  att,
long  objInd,
ObjGX cv1,
double  zval 
)

void APT_curv2ptArr ( Point2 pta,
int *  ianz,
ObjG2 o1 
)

void APT_hiliObj ( long *  ind,
ObjG2 o1,
int  att,
double  zval 
)

    ind == -1: es wird ein temporäres Obj. erzeugt.
    ind == -2: es wird ein dynam. Obj. erzeugt (der Ind wird retourniert).

int APT_Lay_add ( int  layNr,
int  aus_anz,
char *  sptr,
int *  aus_typ,
double *  aus_tab 
)

int APT_decode__ ( int **  atyp,
double **  atab,
char **  data 
)

decode textline into types and values (aus_typ, aus_tab)

int APT_decode_objTx ( void *  data,
int  typ,
char *  cbuf 
)

    Create struct from ModelCode (text).
   
    Input:   nur Text (cbuf) und ein Soll-Typ (typ); zB eine CAD-Inputfeld.
             cbuf ist der definitionText ohne Header (ohne "P20=")
    Output:  eine dataStruct vom typ typ; used fuer temp. Anzeige (von VC's ..)
             oder fuer ANALYZ usw
   
    see also IE_decode_Ln APT_store_obj APED_dec_txt


Variable Documentation

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

   1 starting
   2 voll initialisert.
  65 Batch, else interaktiv.

int aus_SIZ

size of aus_typ & aus_tab

int aus_anz

int* aus_typ

    used for objTypes in APT_decode_ausdr
    in WC_Work1: GLT_cta;
    in IE:       memspc55   

double* aus_tab

    used for objData in APT_decode_ausdr
    in WC_Work1: GLT_pta;
    in IE:       memspc54

int AP_src

AP_SRC_MEM or AP_SRC_EDI.

char AP_dir_open[128]

directory for OPEN

char WC_modnam[128]

active Modelname - without path

char WC_modact[128]

name of the active submodel; def="" (main)

int WC_modnr

the Nr of the active submodel; -1 = main.

-1=primary Model is active;

der Model-Origin

Der Index auf die ActiveConstrPlane.

die fuer Definition (zB P10=0,0) aktive Plane

TrMat of ActiveConstrPlane.

inverse TrMat of ActiveConstrPlane

double WC_sur_Z

active Z-value of WC_sur_sur;

char WC_ConstPl_Z[16]

ConstPl-Z-axis (DZ, ...R20 ...

double AP_txsiz

Notes-Defaultsize.

double AP_txdimsiz

Dimensions-Text-Defaultsize.

int AP_txNkNr

Nachkommastellen.

die DefaultColor des aktiven (sub)Model

int AP_indCol

der DL-Index der aktuellen defCol

double GR_tx_scale

int TSU_mode

long DL_ind_act

long NC_stat_SIZ = 0 [static]

long NC_stat_IND = 0 [static]

NC_recTyp* NC_stat__ [static]

long obj_ind_act [static]

int AP_mdLev

int AP_mdLnr[12] [static]

int AP_mdLne[12] [static]

int WC_mode

int APT_3d_mode = OFF

int APT_2d_to_3d_mode = OFF

int APT_view_stat [static]

double APT_Z_clear

double APT_Z_deep

double APT_pock_distk = 1.0

double APT_pock_distc = 1.0

double APT_pock_dirc = 0.

double WC_sur1 = 0.0

double WC_sur2_Def = 50.1

double WC_sur2 = 50.1

double WC_thick = 50.0

double WC_sur3 = 0.0

int APT_konik = 0

int APT_dispPT = ON

int APT_dispPL = ON

int APT_dispSOL = ON

int APT_disp3D = ON

int APT_TL_Side = 0

int NC_TL_act = -1

int APT_tra

int APT_mirr

int APT_proj

int NC_rapid

int APTsw_poly = OFF

int APTsw_poly_acln = OFF

int UpMirX [static]

int UpMirY [static]

Point2 UpOri [static]

Point2 UpFrom [static]

double UpOriAng [static]

double UpOriAng_sin [static]

double UpOriAng_cos [static]

Point2 RefOri [static]

double RefOriAng [static]

double RefOriAng_sin [static]

double RefOriAng_cos [static]

int UP_mode = OFF [static]

int UP_resolv = ON

char UP_act_typ

char UP_typ_DE [static]

char UP_level_typ[16] [static]

char UP_level_src[16] [static]

int UP_level_adr[16] [static]

int UP_level

int UP_workmode [static]

int Prg_line_nr [static]

int APT_line_cnt = 0

int APT_line_old = 0

char APT_label[64] [static]

char APT_macnam[64] [static]

char APT_filnam[128] [static]

int APT_OPSTOP_stat = ON

int APT_tl_stat = 0

int APT_tl_act = 0

int APT_start = OFF

int APT_Stat_Draw = ON

int APT_stat_FROM = OFF

int l_irc = 25 [static]

int fpOutAnz [static]

int GR_lay_act = 0

int GR_pick = OFF

int NCCmdAnz = 50 [static]

char* NCCmdTab[] [static]

Initial value:

 {

  "FROM",        "PLANE",       " ",           " ",           " ",
  "REF",         "TRA",         "PROJ",        "MIRR",        " ",

  "FED",         "COOL",        " ",           " ",           " ",
  "INL",         "INS",         "INE",         " ",           " ",

  "TL",          "TCPOS",       "DEEP",        "CLEAR",       " ",
  "MCH",         "PN",          " ",           " ",           " ",

  "WC",          "WT",          "STOP",        "OSP",         " ",
  "TEC",         " ",           " ",           "DEFTX",       "DEFCOL",

  "ZSUR1",       "ZSUR2",       "ORI",         "MODORI",      "MODSIZ",
  "DRILL",       "CYCLE",       "POCKET",      " ",           "TEST"}

int PrgCmdAnz = 40 [static]

char* PrgCmdTab[] [static]

Initial value:

 {

  "PRI",         "DRAW",        "STAT",        "MODE",        "SSTYLS",
  "JUMP",        "HIDE",        "VIEW",        "CONST_PL",    " ",

  "IF",          " ",           " ",           " ",           " ",
  "TOL_POLY",    "BRK_AC",      "BRK_ACLN",    " ",           " ",

  "MAC",         "END",         "CALL",        " ",           " ",
  "GEO",         "WORK",        "INPUT",       "LDMOD",       "EXECM",

  "DIM",         "HILI",        "NOP",         " ",           " ",
  "LAY",         "TXA",         "TXG",         " ",           " "}

char WC_outBuf[256]

FILE* APT_fpOut = NULL [static]

char insBuf[10][64] [static]

int insAnz [static]

int insCnt[10] [static]

int insSym[10] [static]

double APT_ModSiz = 500.

double APT_TOL_ac = 0.1

double APT_ln_len = 100.0

char* APT_defTxt


Generated on Sat May 30 09:31:54 2009 for gCAD3D by  doxygen 1.5.6