//---------------------------------------------------------------------------- // EgalTech 2016-2016 //---------------------------------------------------------------------------- // File : EmkMachiningGeoConst.h Data : 06.01.16 Versione : 1.6l6 // Contenuto : Costanti per le geometrie delle lavorazioni. // // // // Modifiche : 06.01.16 DS Creazione modulo. // // //---------------------------------------------------------------------------- #pragma once #include //---------------------------------------------------------------------------- // Chiave per fase di appartenenza static std::string KEY_PHASE = "PH" ; // Chiave per elenco identificativi di selezione static std::string KEY_IDS = "IDS" ; // Chiave per flag cornice diritta static std::string KEY_STRAIGHT = "STR" ; // Chiave per conteggio elementi geometrici di lavorazione static std::string KEY_NUM = "NUM" ; // Chiave per stato di aggiornamento di lavorazione static std::string KEY_STAT = "STAT" ; // Sottogruppi delle lavorazioni static std::string MCH_AUX = "AUX" ; static std::string MCH_AUXVIEW = "AVIEW" ; static std::string MCH_TABS = "TABS" ; static std::string MCH_PV = "PV" ; static std::string MCH_ST = "ST" ; static std::string MCH_CL = "CL" ; static std::string MCH_DBL = "DBL" ; static std::string MCH_PATH = "P" ; // Nomi di entità CL speciali static std::string MCH_CL_CLIMB = "CLIMB" ; static std::string MCH_CL_RISE = "RISE" ; static std::string MCH_CL_HOME = "HOME" ; static std::string MCH_CL_LEADIN = "LI" ; static std::string MCH_CL_LEADOUT = "LO" ; static std::string MCH_CL_AGB_DWN = "AGBD" ; static std::string MCH_CL_AGB_IN = "AGBI" ; static std::string MCH_CL_AGB_OUT = "AGBO" ; static std::string MCH_CL_AGB_UP = "AGBU" ; // Nomi di entità di preview static std::string MCH_PV_CUT = "CUT" ; static std::string MCH_PV_PRE_CUT = "PRC" ; static std::string MCH_PV_POST_CUT = "POC" ; static std::string MCH_PV_RCUT = "RCUT" ; static std::string MCH_PV_RRCUT = "RRCUT" ; static std::string MCH_PV_RLICUT = "RLICUT" ; static std::string MCH_PV_RLOCUT = "RLOCUT" ; static std::string MCH_PV_DOWN_CUT = "DCUT" ; static std::string MCH_PV_DOWN_PRE_CUT = "DPRC" ; static std::string MCH_PV_DOWN_POST_CUT = "DPOC" ; static std::string MCH_PV_DOWN_RCUT = "DRCUT" ; static std::string MCH_PV_DOWN_RRCUT = "DRRCUT" ; static std::string MCH_PV_DOWN_RLICUT = "DRLICUT" ; static std::string MCH_PV_DOWN_RLOCUT = "DRLOCUT" ; // Chiave info con WidthT, DeltaTi, DeltaT, ExtraCut e RawBottomHeight lama in Preview static std::string MCH_PV_KEY_WT = "WT" ; static std::string MCH_PV_KEY_DTI = "DTI" ; static std::string MCH_PV_KEY_DT = "DT" ; static std::string MCH_PV_KEY_EC = "EC" ; static std::string MCH_PV_KEY_RBH = "RBH" ; // Chiave info per rinvio a preview spostato nel pezzo in Preview static std::string MCH_PV_KEY_RELOCATE = "PvId" ; // Chiave info per angoli in XY con entità successiva e precedente static std::string MCH_KEY_NEXTANG = "NextAng" ; static std::string MCH_KEY_PREVANG = "PrevAng" ; // Chiave info per direzione libera in XY all'inizio e alla fine dell'entità (in assenza infinito) static std::string MCH_KEY_START_FREELEN = "SFL" ; static std::string MCH_KEY_END_FREELEN = "EFL" ; // Angolo esterno minimo per calcolare la direzione libera sull'arco static double FL_ARC_ANG_MIN = 30 ; // Chiave info per baffo (whiskers) di taglio lama da allungare static std::string MCH_KEY_START_WHISKEXT = "SWE" ; static std::string MCH_KEY_END_WHISKEXT = "EWE" ; // Chiave info in sottogruppo di CL per allungamenti sul bordo di tagli di lama static std::string KEY_DELTALIEXT = "DLIEXT" ; static std::string KEY_DELTALOEXT = "DLOEXT" ; // Chiave info in sottogruppo di CL per versore estrusione (normale al piano di interpolazione) static std::string KEY_EXTR = "EXTR" ; // Chiavi info in sottogruppo di CL per punti iniziale e finale static std::string KEY_START = "START" ; static std::string KEY_END = "END" ; // Chiavi info in sottogruppo di CL per punti minimo e massimo di ingombro di singolo percorso static std::string KEY_PMIN = "PMIN" ; static std::string KEY_PMAX = "PMAX" ; // Chiavi info in sottogruppo di CL per punti assi minimo e massimo di ingombro di singolo percorso static std::string KEY_PAXMIN = "PAXMIN" ; static std::string KEY_PAXMAX = "PAXMAX" ; // Chiave info in sottogruppo di CL per massima elevazione static std::string KEY_ELEV = "ELEV" ; // Chiavi info in sottogruppo di CL per dati ausiliari static std::string KEY_AS_TOT = "AS#" ; static std::string KEY_AS = "AS" ; static std::string KEY_AE_TOT = "AE#" ; static std::string KEY_AE = "AE" ; // Chiavi info in gruppo CL per punti minimo e massimo di ingombro di tutta la lavorazione static std::string KEY_MMIN = "MMIN" ; static std::string KEY_MMAX = "MMAX" ; // Chiavi info in gruppo CL per punti assi minimo e massimo di ingombro di tutta la lavorazione static std::string KEY_MAXMIN = "MAXMIN" ; static std::string KEY_MAXMAX = "MAXMAX" ; //----------------- Costanti posizione per preview utensile in lavorazione ------ enum MchToolShow { MCH_TPM_CURR = 0, MCH_TPM_BEFORE = -1, MCH_TPM_AFTER = 1} ;