Files
Dario Sassi 8c69460cb1 EgtExchange 1.5h2 :
- aggiunto esportatore STL
- aggiunto esportatore DXF.
2014-08-12 07:43:46 +00:00

52 lines
1.6 KiB
C++

//----------------------------------------------------------------------------
// EgalTech 2014-2014
//----------------------------------------------------------------------------
// File : DxfConst.h Data : 17.04.14 Versione : 1.5d4
// Contenuto : Costanti per ImportDxf.
//
//
//
// Modifiche : 17.04.14 DS Creazione modulo.
//
//
//----------------------------------------------------------------------------
#pragma once
//----------------------------------------------------------------------------
// codice non riconosciuto
const int CODE_NULL = -1 ;
// flag modelspace/paperspace
const int ENT_MODELSPACE = 0 ;
const int ENT_PAPERSPACE = 1 ;
// flag per hide
const int ENT_SHOW = 0 ;
const int ENT_HIDE = 1 ;
// colori speciali
const int COL_BYBLOCK = 0 ;
const int COL_BYLAYER = 256 ;
// colore di default
const int COL_DEFAULT = 7 ;
// flag per splines
const int SPL_CLOSED = 1 ;
const int SPL_PERIODIC = 2 ;
const int SPL_RATIONAL = 4 ;
const int SPL_PLANAR = 8 ;
const int SPL_LINEAR = 16 ;
// costanti per info
const std::string DXF_INFO = "DXF" ;
const std::string BLKOK_INFO = "BOK" ;
const std::string LAYER_INFO = "LAY" ;
const std::string POINT_INFO = "PNT" ;
const std::string FLAGS_INFO = "FLG" ;
const std::string SCALE_INFO = "SCA" ;
const std::string ROTAT_INFO = "ROT" ;
const std::string VTEXT_INFO = "VEX" ;
// nome layer di default
const std::string LAY_DEFAULT = "0" ;
// tipo di linea di default
const std::string LINETYPE_DEFAULT = "CONTINUOUS" ;
// costanti di approssimazione per curve di Bezier e eliche
const double BEZ_LIN_APPROX = 0.01 ;
const double BEZ_ANG_APPROX_DEG = 5.0 ;