00c0e216b7
- aggiunta funzione Exe e Lua ApproxSurface.
60 lines
2.2 KiB
C++
60 lines
2.2 KiB
C++
//----------------------------------------------------------------------------
|
|
// EgalTech 2014-2015
|
|
//----------------------------------------------------------------------------
|
|
// File : EXE_Const.h Data : 05.05.15 Versione : 1.6e2
|
|
// Contenuto : Costanti locali per moduli EXE.
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 01.09.14 DS Creazione modulo.
|
|
//
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
//----------------------------------------------------------------------------
|
|
// Costanti per tolleranze di appossimazione
|
|
const double LIN_TOL_STD = 0.1 ;
|
|
const double LIN_TOL_SRF = 0.05 ;
|
|
const double LIN_TOL_FINE = 0.01 ;
|
|
const double LIN_FEA_STD = 20 ;
|
|
const double LIN_FEA_MAX = 400 ;
|
|
const double ANG_TOL_STD_DEG = 15 ;
|
|
const double ANG_TOL_MAX_DEG = 60 ;
|
|
|
|
// Curve originali di composite o curva originale di area danneggiata
|
|
const std::string CRV_ORIG = "ORIG" ;
|
|
|
|
// Per FlatParts (Nesting)
|
|
const std::string NST_PARTREG_LAYER = "Region" ;
|
|
const std::string NST_PARTREG_ORIG_LAYER = "Region.orig" ;
|
|
const std::string NST_PARTUPREG_LAYER = "UpReg" ;
|
|
const std::string NST_PARTDOWNREG_LAYER = "DwnReg" ;
|
|
const std::string NST_PART_ROT = "ROT" ;
|
|
const std::string NST_OUT_LAYER = "OutLoop" ;
|
|
const std::string NST_OUT_ORIG_LAYER = "OutLoop.orig" ;
|
|
const std::string NST_IN_LAYER = "InLoop" ;
|
|
const std::string NST_IN_ORIG_LAYER = "InLoop.orig" ;
|
|
const std::string NST_ON_LAYER = "OnPath" ;
|
|
const std::string NST_KEY_COPY = "Copy" ;
|
|
const std::string NST_KEY_SIDEANG = "SideAng" ;
|
|
const std::string NST_KEY_OFFSET = "Offset" ;
|
|
const std::string NST_KEY_DEPTH = "Depth" ;
|
|
const std::string NST_KEY_SIDEANG2 = "SideAng2" ;
|
|
const std::string NST_KEY_OFFSET2 = "Offset2" ;
|
|
const std::string NST_KEY_DEPTH2 = "Depth2" ;
|
|
const std::string NST_KEY_AGG2 = "Agg2" ;
|
|
|
|
// Per Sheets (Nesting)
|
|
const std::string NST_SHEET_KERF = "Kerf" ;
|
|
const std::string NST_SHEET_OUTREG = "SheetOut" ;
|
|
const std::string NST_REFERENCE_REG = "RefReg" ;
|
|
const std::string NST_DAMAGED_REG = "DmgReg" ;
|
|
const std::string KEY_NST_OFF = "Off" ;
|
|
|
|
// Per duplicati di pezzi (gruppo radice)
|
|
const std::string DUPLO_BASE = "DuploBase" ;
|