KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ctl_flags.h
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2024 Jean-Pierre Charras.
5 * Copyright (C) 2024 KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software: you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation, either version 3 of the License, or (at your
10 * option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21#pragma once
22
23// These flags are used to control the data items that must be disabled when creating
24// mainly a netlist but also some other kicad files.
25// They allow skipping specified data in these files.
26
27#define CTL_OMIT_EXTRA (1 << 0)
28#define CTL_OMIT_NETS (1 << 1)
29#define CTL_OMIT_PAD_NETS (1 << 1)
30#define CTL_OMIT_UUIDS (1 << 2)
31#define CTL_OMIT_FP_UUID (1 << 3)
32#define CTL_OMIT_PATH (1 << 4)
33#define CTL_OMIT_AT (1 << 5)
35
36// If set, when calling EDA_TEXT::Format, disable writing the "hide" keyword in save file
37#define CTL_OMIT_HIDE (1 << 6)
38
39#define CTL_OMIT_LIBNAME (1 << 7)
41#define CTL_OMIT_FOOTPRINT_VERSION (1 << 8)
43#define CTL_OMIT_FILTERS (1 << 9)
44#define CTL_OMIT_INITIAL_COMMENTS (1 << 10)
45
46#define CTL_OMIT_COLOR (1 << 11)
47#define CTL_OMIT_HYPERLINK (1 << 12)