gCAD3D 2.35
xa_cad_ui.c File Reference

GUI CAD toolbar. More...

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <ctype.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_TX.h"
#include "../ut/ut_txfil.h"
#include "../ut/ut_cast.h"
#include "../ut/ut_os.h"
#include "../ut/ut_gtypes.h"
#include "../ut/ut_ox_base.h"
#include "../gui/gui__.h"
#include "../ut/func_types.h"
#include "../gr/ut_GL.h"
#include "../gr/ut_DL.h"
#include "../db/ut_DB.h"
#include "../ci/NC_Main.h"
#include "../ci/NC_apt.h"
#include "../xa/xa.h"
#include "../xa/xa_edi__.h"
#include "../xa/xa_ui.h"
#include "../xa/xa_ui_gr.h"
#include "../xa/xa_ui_cad.h"
#include "../xa/xa_cad_ed1.h"
#include "../xa/xa_undo.h"
#include "../xa/xa_mem.h"
#include "../xa/xa_sele.h"
#include "../xa/xa_msg.h"
#include "../xa/xa_cad_ui.h"

Macros

#define TRUE   1
 
#define FALSE   0
 
#define IE_BUFSIZ   mem_cbuf1_SIZ
 
#define GROUP_IS_ACTIVE   (IE_grp_typ == '<')||(IE_grp_typ == '(')
 
#define IE_Func_Note   9
 
#define IE_Func_Modify   12
 
#define IE_Func_CADEnv   14
 

Functions

char * IE_get_inp__ (int ind)
 
int IE_cad_CB_Cancel (MemObj *mo, void **data)
 
int IE_cad_CB_Ok (MemObj *mo, void **data)
 
int IE_ccv__ (MemObj *mo, void **data)
 
int IE_ed1__ (MemObj *mo, void **data)
 
int IE_cad_init1 (int ind)
 
int IE_cad_init2 (int ind)
 
int IE_nxtInd ()
 
int IE_cad_test__ ()
 
int IE_analyz_dist (char fnc)
 
int IE_popup_planes_CB (MemObj *mo, void **data)
 
int IE_cad_set_OK (int iStat)
 
int IE_cad_get_OK ()
 
int IE_txt2parG (char *buf, int typRec, int aus_anz, int *ind, int *aus_typ, char txtTab[][256])
 
int IE_set_txtHdr ()
 
int IE_decode_Ln (int *typTab, char txtTab[][256], int tabSiz, char *lnIn)
 
int IE_edit_dbo (long dli, int typ, long dbi)
 
int IE_activate ()
 
int IE_modif__ ()
 
int IE_decode_ftyp (int typ, char *srctxt)
 
int IE_get_modify ()
 
int IE_inp_mod__ (int mode, void *data)
 
int IE_set_inp (int ind, char *cBuf)
 
int IE_get_Func ()
 
int IE_get_inp_TypAct ()
 
int IE_get_inp_t (int *typ, char **txt, int ii)
 
int IE_get_inp_typ (int *typ, char **txt, int ii)
 
int IE_inpTest (int typReq, char *txBuf)
 
int IE_cad_selM2_CB (char *fnam, char *dirNam)
 
int IE_cad_selM2 (int mode)
 
int IE_sel_CB__ (int typSel, long ind, char *buf)
 
int IE_sel_CB_1 (int typSel, long ind, char *buf)
 
int IE_cad_reset_modif ()
 
int IE_cad_exitFunc ()
 
int IE_cad_exit0 ()
 
int IE_cad_init0 ()
 
int IE_ck_menGrpInd (char *lbuf)
 
int IE_cad_init_men (int mode)
 
int IE_cad_ClearInp1 (int ii, int iRedraw)
 
int IE_info_col_set (int mode, int ind)
 
int IE_cad_ClearMenInf ()
 
int IE_cad_ResetInputs ()
 
int IE_cad_ClearInputs (int iNr)
 
int IE_cad_get_func (int *typ, int *subTyp)
 
int IE_inp_chg (int iNxt)
 
int IE_cad_test_typ (char *ep[])
 
int IE_cad_Side (void *parent, void *data)
 
int IE_cad_INS (char *cmd)
 
int IE_cad_OK ()
 
int IE_cad_InpIn_CR ()
 
int IE_cad_Inp_edit_field ()
 
int IE_cad_InpIn_oid (char *cbuf)
 
int IE_cad_InpIn_String (char *cbuf)
 
int IE_cad_InpIn_CB (int ind, int key)
 
int IE_cad_help (MemObj *mo, void **data)
 
int IE_cad_Inp1_Info (int iind)
 
int IE_cad_Inp2_Info (int typ)
 
int IE_cad_Inp1_nxtTra (int mode)
 
int IE_cad_Inp1_nxtVec (int mode)
 
int IE_cad_Inp1_nxtSM (int mode)
 
int IE_cad_Inp1_nxtREV (int mode, char *wGrp)
 
int IE_cad_Inp1_nxtFDX ()
 
int IE_cad_Inp1_iNr (int mode, int iMax)
 
int IE_cad_Inp1_DirS (int mode)
 
int IE_cad_Inp1_PLN (int mode)
 
int IE_cad_Inp1_nxtAng (int mode)
 
int IE_cad_Inp1_nxtpNr (int mode, int typ)
 
int IE_cad_Inp1_Aux (int mode)
 
int IE_cad_Inp1_DirX ()
 
int IE_cad_Inp1_nxtTxt (int iMod, int mode)
 
int IE_cad_Inp1_nxtMod (int iMod, int mode)
 
int IE_cad_Inp1_nxtVal (int mode)
 
int IE_inp_selection_clear ()
 
int IE_cad_ck_inpLast ()
 
int IE_set_inpSrc (int src)
 
int IE_gr_key_CB (void **data)
 
int IE_nam_CB__ (MemObj *mo, void **data)
 
int IE_inp_CB__ (MemObj *mo, void **data)
 
int IE_get_tempPos (Point *pt1)
 
int IE_cad_InpIn_left ()
 
int IE_inp_ck_empty ()
 
int IE_inp_ck_prev_empty ()
 
int IE_cad_InpIn__ (int ind)
 
int IE_undo ()
 
int IE_cad_Inp_undo ()
 
int IE_cad_Inp_disp_pt (Point *pt1, int iind)
 
int IE_cad_Inp_disp_vc (long *dli, Vector *vc1, int iind)
 
int IE_cad_Inp_disp_pln (Plane *pln1, int iind)
 
int IE_cad_Inp_disp_ang (long *dli, double *ang1, int iind)
 
int IE_get_inpAuxVec (Vector *vco, char *subTyp, int ipos, int iind, Point *ptOri)
 
int IE_get_inpAuxPos (Point *pt1, char *subTyp, int iind)
 
int IE_get_inpInd ()
 
int IE_cad_Inp_disp__ (int iind, int mode)
 
int IE_inp_ck_dep (int iind)
 
int IE_cad_p_CB (void *parent, void **data)
 
int IE_cad_l_CB (void *parent, void **data)
 
int IE_cad_c_CB (void *parent, void **data)
 
int IE_cad_r_CB (void *parent, void **data)
 
int IE_cad_d_CB (void *parent, void **data)
 
int IE_cad_v_CB (void *parent, void **data)
 
int IE_cad_s_CB (void *parent, void **data)
 
int IE_cad_a_CB (void *parent, void **data)
 
int IE_cad_b_CB (void *parent, void **data)
 
int IE_cad_n_CB (void *parent, void **data)
 
int IE_cad_m_CB (void *parent, void **data)
 
int IE_cad_t_CB (void *parent, void **data)
 
int IE_cad___CB (void *parent, void **data)
 
int IE_cad_i_CB (void *parent, void **data)
 
int IE_cad_Ace_CB (void *parent, void **data)
 
int IE_auxFun1 (char **obuf, char **tbuf, IE_rec_txt *ibuf)
 
int IE_inp_set_menu_col (int mode, int ind, char *txt)
 
int IE_joints_import ()
 
MemObj UI_cad (MemObj *parent, void **data)
 
int IE_ed2_mod (MemObj *mo, void **data)
 
int IE_ed2__ (MemObj *mo, void **data)
 
int IE_getEyePt ()
 
int IE_analyz__ (char *fncAct)
 
int IE_ui_func_closed ()
 
int IE_buf_del ()
 
int IE_buf_add (char *buf)
 
int IE_dump_rec_stru (IE_rec_stru *rs, char *txi)
 
int IE_test ()
 

Variables

AP_STAT AP_stat
 
char AP_dir_open [128]
 
char AP_lang [4]
 
char AP_ED_oNam [64]
 objectName of active Line More...
 
Plane WC_sur_act
 the active construction-plane More...
 
int UI_InpMode
 
int KeyStatCtrl
 
MemObj winGR
 
int UI_fontsizX
 
int UI_fontsizY
 
long GR_selDli
 
int ED_lnr_act
 
char * ED_cpos
 
static MemObj IE_wCad_men [INTPTYANZ]
 
static MemObj IE_wCad_obj [INPRECANZ]
 
static MemObj IE_wCad_info [INPRECANZ]
 
int IE_inpTypR [INPRECANZ]
 
static char IE_wCad_preLoad [INPRECANZ][16]
 
inpAuxDat IE_inpAuxDat [INPRECANZ]
 
static MemObj boxCad0
 
static MemObj boxCad1
 
static MemObj boxCad2
 
static MemObj boxCad3
 
static MemObj boxInp2
 
static MemObj IE_but_OK
 
static MemObj IE_but_ModEx
 
static MemObj IE_help_F
 
static MemObj IE_help_I
 
static MemObj IE_entHdr
 
static MemObj IE_entNam
 
static MemObj IE_txtMode
 
MemObj IE_edWin1 = GUI_OBJ_NEW
 
static int(* IE_ui_func )()
 
int IE_modify =0
 
static int IE_save =0
 
static int IE_delete =0
 
static int IE_EdFnc =0
 
static int IE_FuncTyp = 0
 active MenueGroup; 0=PT, 1=LN .. ANALYZ=14 .. More...
 
static int IE_FuncSubTyp = 0
 active MenueSubGroup; depends of MenueGroup. More...
 
static char IE_ftyp_act [16]
 
static char IE_modifHdr [32]
 
static char IE_grp_typ
 
static IE_rec_struIE_cad_act = NULL
 
static int IE_cad_typ = -1
 
int IE_inpTypAct
 
static int IE_inpInd
 
static int IE_inpAnz
 
int IE_inpSrc
 
static int IE_inpStat = 0
 
long IE_bufSiz
 
long IE_bufMax =IE_BUFSIZ
 
static int IE_stat__
 
static int IE_stat_OK
 
static IE_rec_txtIE_lst_act
 
static int menGrpInd
 
static int menSubGrpInd
 
static long IE_objInd =20
 
static int IE_selTyp
 
static long IE_selInd
 
static IE_rec_txt cad_lst_p []
 
static IE_rec_stru IE_cad_p []
 
static IE_rec_txt cad_lst_l []
 
static IE_rec_stru IE_cad_l []
 
static IE_rec_txt cad_lst_c []
 
static IE_rec_stru IE_cad_c []
 
static IE_rec_txt cad_lst_r []
 
static IE_rec_stru IE_cad_r []
 
static IE_rec_txt cad_lst_d []
 
static IE_rec_stru IE_cad_d []
 
static IE_rec_txt cad_lst_v []
 
static IE_rec_stru IE_cad_v []
 
static IE_rec_txt cad_lst_s []
 
static IE_rec_stru IE_cad_s []
 
static IE_rec_txt cad_lst_a []
 
static IE_rec_stru IE_cad_a []
 
static IE_rec_txt cad_lst_b []
 
static IE_rec_stru IE_cad_b []
 
static IE_rec_txt cad_lst_n []
 
static IE_rec_stru IE_cad_n []
 
static IE_rec_txt cad_lst_m []
 
static IE_rec_stru IE_cad_m []
 
static IE_rec_txt cad_lst_t []
 
static IE_rec_stru IE_cad_t []
 
static IE_rec_txt cad_lst__ []
 
static IE_rec_stru IE_cad__ []
 
static IE_rec_txt cad_lst_i_ []
 
static IE_rec_stru IE_cad_i_ []
 
static IE_rec_txt cad_lst_Ace []
 
static IE_rec_stru IE_cad_Ace []
 
static char * IE_FncTab []
 
static int IE_FncNr = -1
 index into IE_FncTab More...
 
static int IE_first
 
static int IE_last
 

Detailed Description

GUI CAD toolbar.

=====================================================
List_functions_start:
UI_cad create CAD-Window (Bar)
IE_sel_CB_1 Selektion eines Objekts gemeldet (core reports selection)
IE_gr_key_CB keypress in grafic-window
IE_cad_OK OK-Butt. pressed (store)
IE_cad_set_OK set IE_stat_OK 0=OK-locked; 1=OK-active
IE_cad_test__ test ob alle Eingaben vorh; Ausgabezeile generieren
IE_cad_test_typ get type and name for CUT INT PRJ ISO REV
IE_inpTest test Inputs fuer diese zeile komplett
IE_undo Ctrl-Z pressed or Undo-Button pressed ..
IE_cad_Inp_undo delete last CAD-input | exit function
IE_edit_dbo edit obj (from typ/dbi)
IE_activate Zeile auslesen, analysieren, eintragen
IE_txt2parG test for groupobjects
IE_txt2par1 Decode Werte (Text -> Parameter)
IE_decode_Ln Zerlegen der Inputzeile
IE_modif__ modify codeline
IE_cad_init0 neue AptIndexe holen
IE_cad_exitFunc exit the active cadFunction
-------------------- menu-functions ---------------------------
IE_cad_init2 activate mainMenu
IE_cad_init1 activate Submenu und inputFelder
IE_get_Func returns mainFunctionNr (ck if a menu is active)
IE_ck_menGrpInd Hauptmenuegruppe bestimmen
IE_inp_set_menu_col set col of CAD-menu
IE_cad_init_men disactivate menu & inputs
-------------------- inputField-functions ---------------------------
IE_cad_InpIn_CR CR aus irgendeinem anderen Win ..
IE_cad_InpIn_CB Key in in ein Inputfeld
IE_inp_CB__ callback of inputField
IE_cad_InpIn__ activate new inputField
IE_inp_chg change inputField
IE_cad_ClearInp1 clear one inputField
IE_cad_ResetInputs clear all inputFields & goto inputField 0
IE_cad_ClearInputs clear all inputFields
UNUSED IE_cad_ClearAct clear display corresponding to active inputField
IE_get_inp__ read text of inputField
IE_get_inp_t get type & text of inputField
IE_get_inp_typ get type & text of inputField
IE_set_inp write text -> inputField
IE_inp_mod__ modify active inputField
IE_inp_selection_clear check / clear a active selection in inputfield
IE_inp_ck_empty check if all inputfelds empty
IE_inp_ck_prev_empty add 0 into prev. field if nxt field has value
IE_cad_InpIn_String cbuf in das naechste freie inputfeld eintragen ...
IE_cad_InpIn_left goto end of upper cad-inputField
IE_cad_Inp_edit_field das aktuelle Inputfeld mit editor
IE_get_inp_dli get dli for active inputField
IE_get_tempPos returns position for a temporary object
IE_cad_Inp_disp__ display temp. symbols for inpField iind (zB Vec)
IE_cad_Inp_disp_pt display point for actual inputfield
-------------------- infoField-functions ---------------------------
IE_cad_ClearMenInf clear MenuInfos (right of inputboxes)
IE_info_col_set change color of info-field
-------------------- other-functions ---------------------------
IE_cad_reset_modif reset to CREATE from MODIFY
IE_cad_INS cancel-function & insert-function
IE_nxtInd den neuen ObjIndex holen
IE_set_txtHdr display name of new outpt-obj in field IE_entHdr
IE_parDef check for Parameter-defaults to save
IE_cad_Inp1_Info write infoText into Messagewindow
IE_cad_Inp1_nxtCW
IE_cad_Inp1_nxtpNr incr od decr PointNr for EndpointSelections
IE_cad_selM2 mittlere Maustaste.
IE_cad_selM2_CB filename aus Liste selected
IE_ed2__ simple TextEditor
IE_ed2_mod "Exit" "Test" "OK"
IE_auxFun1 get pointers to functionDescriptions (.ftxt)
IE_cad_RotS
IE_cad_Side1
IE_oLst_ini init ObjLst
List_functions_end:
=====================================================

Macro Definition Documentation

#define TRUE   1
#define FALSE   0
#define IE_BUFSIZ   mem_cbuf1_SIZ
#define GROUP_IS_ACTIVE   (IE_grp_typ == '<')||(IE_grp_typ == '(')
#define IE_Func_Note   9
#define IE_Func_Modify   12
#define IE_Func_CADEnv   14

Function Documentation

char * IE_get_inp__ ( int  ind)

den Text der CAD-Panel-Entries auslesen

int IE_cad_CB_Cancel ( MemObj mo,
void **  data 
)
int IE_cad_CB_Ok ( MemObj mo,
void **  data 
)
int IE_ccv__ ( MemObj mo,
void **  data 
)
int IE_ed1__ ( MemObj mo,
void **  data 
)
int IE_cad_init1 ( int  ind)
int IE_cad_init2 ( int  ind)
int IE_nxtInd ( )
int IE_cad_test__ ( )

IE_lst_act[IE_FuncSubTyp].ftyp; the primary Codeword; "CUT" or "INT" ..

int IE_analyz_dist ( char  fnc)
int IE_popup_planes_CB ( MemObj mo,
void **  data 
)
int IE_cad_set_OK ( int  iStat)
int IE_cad_get_OK ( )
int IE_txt2parG ( char *  buf,
int  typRec,
int  aus_anz,
int *  ind,
int *  aus_typ,
char  txtTab[][256] 
)
int IE_set_txtHdr ( )
int IE_decode_Ln ( int *  typTab,
char  txtTab[][256],
int  tabSiz,
char *  lnIn 
)
int IE_edit_dbo ( long  dli,
int  typ,
long  dbi 
)

IE_edit_dbo edit obj (from typ/dbi)

int IE_activate ( )
int IE_modif__ ( )
int IE_decode_ftyp ( int  typ,
char *  srctxt 
)
test if eg srctxt = "P(" and typ == Typ_PT ..
Retcod 0: typ != geom.func in srctxt
1: typ = srctxt-func
int IE_get_modify ( )
int IE_inp_mod__ ( int  mode,
void *  data 
)
int IE_set_inp ( int  ind,
char *  cBuf 
)
int IE_get_Func ( )
int IE_get_inp_TypAct ( )
int IE_get_inp_t ( int *  typ,
char **  txt,
int  ii 
)
int IE_get_inp_typ ( int *  typ,
char **  txt,
int  ii 
)
int IE_inpTest ( int  typReq,
char *  txBuf 
)
int IE_cad_selM2_CB ( char *  fnam,
char *  dirNam 
)
int IE_cad_selM2 ( int  mode)
int IE_sel_CB__ ( int  typSel,
long  ind,
char *  buf 
)
int IE_sel_CB_1 ( int  typSel,
long  ind,
char *  buf 
)
int IE_cad_reset_modif ( )
int IE_cad_exitFunc ( )
int IE_cad_exit0 ( )
int IE_cad_init0 ( )
int IE_ck_menGrpInd ( char *  lbuf)
int IE_cad_init_men ( int  mode)
int IE_cad_ClearInp1 ( int  ii,
int  iRedraw 
)
int IE_info_col_set ( int  mode,
int  ind 
)
IE_info_col_set change color of info-field
mode = 0: reset; 1=set Color (red).
int IE_cad_ClearMenInf ( )
int IE_cad_ResetInputs ( )
int IE_cad_ClearInputs ( int  iNr)
int IE_cad_get_func ( int *  typ,
int *  subTyp 
)
int IE_inp_chg ( int  iNxt)
int IE_cad_test_typ ( char *  ep[])
int IE_cad_Side ( void *  parent,
void *  data 
)
int IE_cad_INS ( char *  cmd)
int IE_cad_OK ( )
int IE_cad_InpIn_CR ( )
int IE_cad_Inp_edit_field ( )
int IE_cad_InpIn_oid ( char *  cbuf)
int IE_cad_InpIn_String ( char *  cbuf)
int IE_cad_InpIn_CB ( int  ind,
int  key 
)
int IE_cad_help ( MemObj mo,
void **  data 
)
int IE_cad_Inp1_Info ( int  iind)
int IE_cad_Inp2_Info ( int  typ)
int IE_cad_Inp1_nxtTra ( int  mode)
int IE_cad_Inp1_nxtVec ( int  mode)
int IE_cad_Inp1_nxtSM ( int  mode)
int IE_cad_Inp1_nxtREV ( int  mode,
char *  wGrp 
)
int IE_cad_Inp1_nxtFDX ( )
int IE_cad_Inp1_iNr ( int  mode,
int  iMax 
)
int IE_cad_Inp1_DirS ( int  mode)
int IE_cad_Inp1_PLN ( int  mode)
int IE_cad_Inp1_nxtAng ( int  mode)
int IE_cad_Inp1_nxtpNr ( int  mode,
int  typ 
)
int IE_cad_Inp1_Aux ( int  mode)
int IE_cad_Inp1_DirX ( )
int IE_cad_Inp1_nxtTxt ( int  iMod,
int  mode 
)
int IE_cad_Inp1_nxtMod ( int  iMod,
int  mode 
)
int IE_cad_Inp1_nxtVal ( int  mode)
int IE_inp_selection_clear ( )
int IE_cad_ck_inpLast ( )
int IE_set_inpSrc ( int  src)
int IE_gr_key_CB ( void **  data)
int IE_nam_CB__ ( MemObj mo,
void **  data 
)
int IE_inp_CB__ ( MemObj mo,
void **  data 
)
int IE_get_tempPos ( Point pt1)
int IE_cad_InpIn_left ( )
int IE_inp_ck_empty ( )
int IE_inp_ck_prev_empty ( )
int IE_cad_InpIn__ ( int  ind)
int IE_undo ( )
int IE_cad_Inp_undo ( )
int IE_cad_Inp_disp_pt ( Point pt1,
int  iind 
)
int IE_cad_Inp_disp_vc ( long *  dli,
Vector vc1,
int  iind 
)
int IE_cad_Inp_disp_pln ( Plane pln1,
int  iind 
)
int IE_cad_Inp_disp_ang ( long *  dli,
double *  ang1,
int  iind 
)
int IE_get_inpAuxVec ( Vector vco,
char *  subTyp,
int  ipos,
int  iind,
Point ptOri 
)
int IE_get_inpAuxPos ( Point pt1,
char *  subTyp,
int  iind 
)
int IE_get_inpInd ( )
int IE_cad_Inp_disp__ ( int  iind,
int  mode 
)
int IE_inp_ck_dep ( int  iind)
int IE_cad_p_CB ( void *  parent,
void **  data 
)
int IE_cad_l_CB ( void *  parent,
void **  data 
)
int IE_cad_c_CB ( void *  parent,
void **  data 
)
int IE_cad_r_CB ( void *  parent,
void **  data 
)
int IE_cad_d_CB ( void *  parent,
void **  data 
)
int IE_cad_v_CB ( void *  parent,
void **  data 
)
int IE_cad_s_CB ( void *  parent,
void **  data 
)
int IE_cad_a_CB ( void *  parent,
void **  data 
)
int IE_cad_b_CB ( void *  parent,
void **  data 
)
int IE_cad_n_CB ( void *  parent,
void **  data 
)
int IE_cad_m_CB ( void *  parent,
void **  data 
)
int IE_cad_t_CB ( void *  parent,
void **  data 
)
int IE_cad___CB ( void *  parent,
void **  data 
)
int IE_cad_i_CB ( void *  parent,
void **  data 
)
int IE_cad_Ace_CB ( void *  parent,
void **  data 
)
int IE_auxFun1 ( char **  obuf,
char **  tbuf,
IE_rec_txt ibuf 
)
int IE_inp_set_menu_col ( int  mode,
int  ind,
char *  txt 
)
int IE_joints_import ( )
MemObj UI_cad ( MemObj parent,
void **  data 
)

activate CAD-toolbar

int IE_ed2_mod ( MemObj mo,
void **  data 
)
int IE_ed2__ ( MemObj mo,
void **  data 
)
int IE_getEyePt ( )
int IE_analyz__ ( char *  fncAct)
int IE_ui_func_closed ( )
int IE_buf_del ( )
int IE_buf_add ( char *  buf)
int IE_dump_rec_stru ( IE_rec_stru rs,
char *  txi 
)
int IE_test ( )

Variable Documentation

AP_STAT AP_stat
char AP_dir_open[128]
char AP_lang[4]
char AP_ED_oNam[64]

objectName of active Line

Plane WC_sur_act

the active construction-plane

int UI_InpMode
int KeyStatCtrl
MemObj winGR
int UI_fontsizX
int UI_fontsizY
long GR_selDli
int ED_lnr_act
char* ED_cpos
MemObj IE_wCad_men[INTPTYANZ]
static
MemObj IE_wCad_obj[INPRECANZ]
static
MemObj IE_wCad_info[INPRECANZ]
static
int IE_inpTypR[INPRECANZ]
char IE_wCad_preLoad[INPRECANZ][16]
static
inpAuxDat IE_inpAuxDat[INPRECANZ]
MemObj boxCad0
static
MemObj boxCad1
static
MemObj boxCad2
static
MemObj boxCad3
static
MemObj boxInp2
static
MemObj IE_but_OK
static
MemObj IE_but_ModEx
static
MemObj IE_help_F
static
MemObj IE_help_I
static
MemObj IE_entHdr
static
MemObj IE_entNam
static
MemObj IE_txtMode
static
MemObj IE_edWin1 = GUI_OBJ_NEW
int(* IE_ui_func)()
static
int IE_modify =0
int IE_save =0
static
int IE_delete =0
static
int IE_EdFnc =0
static
int IE_FuncTyp = 0
static

active MenueGroup; 0=PT, 1=LN .. ANALYZ=14 ..

int IE_FuncSubTyp = 0
static

active MenueSubGroup; depends of MenueGroup.

char IE_ftyp_act[16]
static
char IE_modifHdr[32]
static
char IE_grp_typ
static
IE_rec_stru* IE_cad_act = NULL
static
int IE_cad_typ = -1
static
int IE_inpTypAct
int IE_inpInd
static
int IE_inpAnz
static
int IE_inpSrc
int IE_inpStat = 0
static
long IE_bufSiz
long IE_bufMax =IE_BUFSIZ
int IE_stat__
static
int IE_stat_OK
static
IE_rec_txt* IE_lst_act
static
int menGrpInd
static
int menSubGrpInd
static
long IE_objInd =20
static
int IE_selTyp
static
long IE_selInd
static
IE_rec_txt cad_lst_p[]
static
Initial value:
={
{"PT cartes, offset", ""},
{"PT polar", ""},
{"PT translate", ""},
{"PT rotate", ""},
{"PT endpoints center focus ..", ""},
{"PT Mid/Cornerpoint PT PT [VC]", ""},
{"PT parametric on LN/CIR/CRV/SUR", ""},
{"",""}
}
IE_rec_stru IE_cad_p[]
static
IE_rec_txt cad_lst_l[]
static
Initial value:
={
{"LN PT PT", ""},
{"LN parallel", ""},
{"LN PT Direct.[Length,Rot.Angle,TiltAngle]",""},
{"LN LN Dist. (parall)", ""},
{"LN LN LN [Rot.Angle,TiltAngle] (mid)", ""},
{"LN tangent to line/circ/curve", "TNG"},
{"",""}
}
IE_rec_stru IE_cad_l[]
static
IE_rec_txt cad_lst_c[]
static
Initial value:
={
"CIR Cen Radius [Z-Axis]", "",
"CIR Cen Tang", "",
"CIR Tang Tang Radius", "",
"CIR Tang Tang Tang", "",
"ARC Cen Ang1 Ang2 Radius", "ARC",
"ARC Cen PT Angle", "ARC",
"ARC PT PT Radius", "ARC",
"ARC PT Tang Radius [Angle]", "ARC",
"ARC PT PT Cen", "ARC",
"ARC PT PT PT", "ARC1",
"",""}
IE_rec_stru IE_cad_c[]
static
IE_rec_txt cad_lst_r[]
static
Initial value:
={
"PLN Z-Axis [X-Axis]", "PERP",
"PLN X-Axis [Y-Axis]", "",
"PLN PT Plane Offset Angle", "RSYS",
"",""}
IE_rec_stru IE_cad_r[]
static
Initial value:
={
0, Typ_PT, "[Origin]",
0, Typ_goGeo7, "Z-Axis||DD0",
0, Typ_goGeo7, "[X-Axis]||DD0",
0, Typ_goGeo8, "[offset-Z-axis]",
1, Typ_PT, "[Origin]",
1, Typ_goGeo7, "X-Axis||DD0",
1, Typ_goGeo7, "[Y-Axis]||DD0",
1, Typ_goGeo8, "[offset-Z-axis]",
2, Typ_PT, "[Origin]",
2, Typ_PLN, "[Refsys]",
2, Typ_XVal, "[offset-X-axis]",
2, Typ_YVal, "[offset-Y-axis]",
2, Typ_ZVal, "[offset-Z-axis]",
2, Typ_Angle, "[Angle-around-Z]",
-1, -1, ""}
#define Typ_goGeo8
Val/PT parameter (0-1) od par. from point.
Definition: xa_sele.h:21
#define Typ_PT
P Point.
Definition: AP_types.h:60
#define Typ_YVal
Y-value (Y())
Definition: AP_types.h:189
#define Typ_ZVal
Z-value (Z())
Definition: AP_types.h:190
#define Typ_goGeo7
ANG/PT angle (0-360) od angle from point.
Definition: xa_sele.h:20
#define Typ_XVal
X-value (X())
Definition: AP_types.h:188
#define Typ_PLN
DB-surfs 40-79.
Definition: AP_types.h:92
#define Typ_Angle
Angle (in degree; ANG())
Definition: AP_types.h:191
IE_rec_txt cad_lst_d[]
static
Initial value:
={
"VEC cartes, polar", "",
"VEC from objects", "",
"",""}
IE_rec_stru IE_cad_d[]
static
IE_rec_txt cad_lst_v[]
static
Initial value:
={
"V Variable - Value", "",
"V X/Y/Z-part PT|VC", "",
"V PT-PT Dist.[Direction]", "",
"V LN Length", "",
"V PT - LN Perp.Dist.", "",
"V CIR Radius", "",
"",""}
IE_rec_stru IE_cad_v[]
static
Initial value:
={
0, Typ_Val, "Value",
1, Typ_XVal, "[value X-coord]",
1, Typ_YVal, "[value Y-coord]",
1, Typ_ZVal, "[value Z-coord]",
2, Typ_PT, "Point - from",
2, Typ_PT, "Point - to",
2, Typ_VC, "[Direction]",
3, Typ_LN, "Line (Length)",
4, Typ_PT, "Point - from",
4, Typ_LN, "Line - ortho.",
5, Typ_CI, "Circ (Radius)",
-1, -1, ""}
#define Typ_PT
P Point.
Definition: AP_types.h:60
#define Typ_YVal
Y-value (Y())
Definition: AP_types.h:189
#define Typ_ZVal
Z-value (Z())
Definition: AP_types.h:190
#define Typ_LN
L Line.
Definition: AP_types.h:61
#define Typ_VC
D Vector.
Definition: AP_types.h:59
#define Typ_Val
geom. parameters TYP_IS_GEOMPAR
Definition: AP_types.h:184
#define Typ_XVal
X-value (X())
Definition: AP_types.h:188
#define Typ_CI
C Circ.
Definition: AP_types.h:62
IE_rec_txt cad_lst_s[]
static
Initial value:
={
"S Ellipse Center,AxisEndPoint,Point", "ELL",
"S Ellipse Center Axes [EndPoints]", "ELL",
"S connection-lines < Points...", "MSH",
"S Polygon < Points...", "POL",
"S Polygon < Rectangle", "REC",
"S BSpline < Points...", "BSP",
"S BSpline < convert & join obj's", "BSP1",
"S Clotoid", "CLOT",
"S Contour(CCV) <- PT/LN/CIR/CRV", "CCV",
"",""}
IE_rec_stru IE_cad_s[]
static
IE_rec_txt cad_lst_a[]
static
Initial value:
={
"A Planar Surf (trim/punch)", "",
"A Spheric Surf (Axis,Rad.)", "SPH",
"A Cylinder Surf (Axis,Rad.)", "CYL",
"A Revolved Surf (Axis Contour)", "SRV",
"A Extrusion Surf (Contour Vec)", "SRU",
"A Sweep Surf (Contour Path)", "SWP",
"A Loft Surf (Curves across)", "BSP",
"A Loft Surf (Curves along/across)","BSP",
"A supported trimmed punched", "FSUB",
"A Hatch / Schraffur", "HAT",
"",""}
IE_rec_stru IE_cad_a[]
static
IE_rec_txt cad_lst_b[]
static
Initial value:
={
"B Conus PT/PT/R/R", "CON",
"B Conus Circ,height,radius", "CON",
"B Torus Axis/R/R", "TOR",
"B Torus Axis/CI", "TOR",
"B Sphere Center,radius", "SPH",
"B Prism Base Thick/Point(Cone)","PRISM",
"B Prism Base Vec", "PRISM",
"",""}
IE_rec_stru IE_cad_b[]
static
IE_rec_txt cad_lst_n[]
static
Initial value:
={
"N DIM hor/vert/parall.", "DIM",
"N DIM3 X/Y/Z/parl", "DIM3",
"N DIM Angle", "DIMA",
"N DIM Dmr", "DIMD",
"N DIM Radius", "DIMR",
"N PointPos,LN", "LDRP",
"N Text", "",
"N Text,LN", "LDR",
"N Text,LN,Circle", "LDRC",
"N TextTag,LN", "TAG",
"N Symbol", "LDRS",
"N Image Pos,Filename", "IMG",
"",""}
IE_rec_stru IE_cad_n[]
static
IE_rec_txt cad_lst_m[]
static
Initial value:
={
"M internal Model", "",
"M external Model", "",
"M CatalogPart", "CTLG",
"",""}
IE_rec_stru IE_cad_m[]
static
Initial value:
={
0, Typ_SubModel,"basic Submodel",
0, Typ_PLN, "Position,Orientation",
0, Typ_Val, "[Scale]|1",
1, TYP_FilNam, "Filename",
1, Typ_PLN, "Position,Orientation",
1, Typ_Val, "[Scale]|1",
2, Typ_CtlgPart,"CatalogPart",
2, Typ_PLN, "Position,Orientation",
2, Typ_Val, "[Scale]|1",
-1, -1, ""}
#define TYP_FilNam
filename
Definition: AP_types.h:254
#define Typ_SubModel
M - basicModel.
Definition: AP_types.h:175
#define Typ_Val
geom. parameters TYP_IS_GEOMPAR
Definition: AP_types.h:184
#define Typ_PLN
DB-surfs 40-79.
Definition: AP_types.h:92
#define Typ_CtlgPart
catalogpart
Definition: AP_types.h:255
IE_rec_txt cad_lst_t[]
static
Initial value:
={
"TRafo transl", "",
"TRafo rot", "ROT",
"",""}
IE_rec_stru IE_cad_t[]
static
Initial value:
={
0, Typ_VC, "VC (Direct.)",
0, Typ_Val, "[Length]",
1, Typ_LN, "Axis-Rot. (Line)",
1, Typ_Angle, "Angle-Rot.",
-1, -1, ""}
#define Typ_LN
L Line.
Definition: AP_types.h:61
#define Typ_VC
D Vector.
Definition: AP_types.h:59
#define Typ_Val
geom. parameters TYP_IS_GEOMPAR
Definition: AP_types.h:184
#define Typ_Angle
Angle (in degree; ANG())
Definition: AP_types.h:191
IE_rec_txt cad_lst__[]
static
Initial value:
={
"CUT (trim) obj", "CUT",
"INT (intersect) obj", "INT",
"TRAnslate obj (VC)", "TRA",
"TRAnslate obj (PLN)", "TRA",
"TRAnsform obj (Tra)", "TRA",
"REV (reverse) curve", "REV",
"Project obj (Prj)", "PRJ",
"Mirror about line", "MIR",
"Mirror about plane", "MIR",
"ISOparametric Curve from Surf", "ISO",
"",""}
IE_rec_stru IE_cad__[]
static
IE_rec_txt cad_lst_i_[]
static
Initial value:
={
"Interact.connect", "",
"Joint-export", "",
"Joint-import", "IMP",
"",""}
IE_rec_stru IE_cad_i_[]
static
Initial value:
={
0, Typ_goGeom, "connect object",
0, Typ_String, "command",
1, Typ_goGeom, "joint-object",
2, Typ_Model, "Submodel",
2, Typ_Joint, "Joint",
2, Typ_String, "[Text]",
-1, -1, ""}
#define Typ_String
durch " begrenzt
Definition: AP_types.h:250
#define Typ_Joint
connection, exported;
Definition: AP_types.h:179
#define Typ_Model
M ModelReference of native-subModel ModelRef.
Definition: AP_types.h:176
#define Typ_goGeom
all (USED AS CHAR U)
Definition: xa_sele.h:11
IE_rec_txt cad_lst_Ace[]
static
Initial value:
={
"ActiveConstrPlane", "",
"Reset ConstrPlane", "",
"",""}
IE_rec_stru IE_cad_Ace[]
static
Initial value:
={
0, Typ_PLN, "Refsys",
1, Typ_PLN, "Abs.Refsys|RZ",
-1, -1, ""}
#define Typ_PLN
DB-surfs 40-79.
Definition: AP_types.h:92
char* IE_FncTab[]
static
Initial value:
={"CUT","INT","TRA","PRJ","MIR",
"ISO","REV","IMP",""}
int IE_FncNr = -1
static

index into IE_FncTab

int IE_first
static
int IE_last
static