-
-
Notifications
You must be signed in to change notification settings - Fork 163
Expand file tree
/
Copy pathModalGroup.h
More file actions
52 lines (42 loc) · 2.06 KB
/
ModalGroup.h
File metadata and controls
52 lines (42 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/******************************************************************************\
CAMotics is an Open-Source simulation and CAM software.
Copyright (C) 2011-2019 Joseph Coffland <joseph@cauldrondevelopment.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
\******************************************************************************/
#ifndef CBANG_ENUM_EXPAND
#ifndef GCODE_MODAL_GROUP_H
#define GCODE_MODAL_GROUP_H
#define CBANG_ENUM_NAME ModalGroup
#define CBANG_ENUM_NAMESPACE GCode
#define CBANG_ENUM_PATH gcode
#define CBANG_ENUM_PREFIX 3
#include <cbang/enum/MakeEnumeration.def>
#endif // GCODE_MODAL_GROUP_H
#else // CBANG_ENUM_EXPAND
CBANG_ENUM_EXPAND(MG_ZERO, 0)
CBANG_ENUM_EXPAND(MG_MOTION, 1 << 0)
CBANG_ENUM_EXPAND(MG_PLANE, 1 << 1)
CBANG_ENUM_EXPAND(MG_LATHE, 1 << 2)
CBANG_ENUM_EXPAND(MG_DISTANCE, 1 << 3)
CBANG_ENUM_EXPAND(MG_ARC_DISTANCE, 1 << 4)
CBANG_ENUM_EXPAND(MG_FEED_RATE, 1 << 5)
CBANG_ENUM_EXPAND(MG_UNITS, 1 << 6)
CBANG_ENUM_EXPAND(MG_CUTTER_RADIUS, 1 << 7)
CBANG_ENUM_EXPAND(MG_TOOL_OFFSET, 1 << 8)
CBANG_ENUM_EXPAND(MG_RETURN_MODE, 1 << 9)
CBANG_ENUM_EXPAND(MG_COORD_SYSTEM, 1 << 10)
CBANG_ENUM_EXPAND(MG_STOPPING, 1 << 11)
CBANG_ENUM_EXPAND(MG_TOOL_CHANGE, 1 << 12)
CBANG_ENUM_EXPAND(MG_SPINDLE, 1 << 13)
CBANG_ENUM_EXPAND(MG_COOLANT, 1 << 14)
CBANG_ENUM_EXPAND(MG_OVERRIDE, 1 << 15)
#endif // CBANG_ENUM_EXPAND