aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_dxf/imp_dxf_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/mimesh/libg3d-0.0.8/plugins/import/imp_dxf/imp_dxf_def.h')
-rw-r--r--src/others/mimesh/libg3d-0.0.8/plugins/import/imp_dxf/imp_dxf_def.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_dxf/imp_dxf_def.h b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_dxf/imp_dxf_def.h
new file mode 100644
index 0000000..d64d2ab
--- /dev/null
+++ b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_dxf/imp_dxf_def.h
@@ -0,0 +1,51 @@
1/* $Id:$ */
2
3/*
4 libg3d - 3D object loading library
5
6 Copyright (C) 2005-2009 Markus Dahms <mad@automagically.de>
7
8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Lesser General Public
10 License as published by the Free Software Foundation; either
11 version 2.1 of the License, or (at your option) any later version.
12
13 This library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Lesser General Public License for more details.
17
18 You should have received a copy of the GNU Lesser General Public
19 License along with this library; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21*/
22#ifndef _IMP_DXF_DEF_H
23#define _IMP_DXF_DEF_H
24
25#define DXF_MAX_LINE 512
26#define DXF_CODE_INVALID 0xDEADBEEF
27
28#define DXF_ID_HEADER 0x00FF0000
29#define DXF_ID_TABLES 0x00FF0001
30#define DXF_ID_ENTITIES 0x00FF0002
31#define DXF_ID_BLOCKS 0x00FF0003
32#define DXF_ID_OBJECTS 0x00FF0004
33#define DXF_ID_CLASSES 0x00FF0005
34
35#define DXF_E_3DFACE 0x0001
36#define DXF_E_POLYLINE 0x0002
37#define DXF_E_VERTEX 0x0003
38#define DXF_E_BLOCK 0x0004
39#define DXF_E_INSERT 0x0005
40#define DXF_E_OTHER 0xFFFF
41
42#define DXF_POLY_CLOSED 1
43#define DXF_POLY_CURVE_FIT_ADDED 2
44#define DXF_POLY_SPLINE_FIT_ADDED 4
45#define DXF_POLY_3D_POLYLINE 8
46#define DXF_POLY_3D_POLYMESH 16
47#define DXF_POLY_N_CLOSED 32
48#define DXF_POLY_POLYFACE 64
49#define DXF_POLY_LT_PATTERN 128
50
51#endif /* _IMP_DXF_DEF_H */