KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_track_types.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) 2004 Jean-Pierre Charras,
[email protected]
5
* Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6
*
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License
9
* as published by the Free Software Foundation; either version 2
10
* of the License, or (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <https://www.gnu.org/licenses/>.
19
*/
20
21
#pragma once
22
27
28
// Flag used in locate routines (from which endpoint work)
29
enum
ENDPOINT_T
:
int
30
{
31
ENDPOINT_START
= 0,
32
ENDPOINT_END
= 1
33
};
34
35
// Note that this enum must be synchronized to GAL_LAYER_ID
36
enum class
VIATYPE
:
int
37
{
38
THROUGH
= 4,
/* Always a through hole via */
39
BURIED
= 3,
/* this via can be on internal layers */
40
BLIND
= 2,
/* this via can be on internal layers */
41
MICROVIA
= 1,
/* this via which connect from an external layer
42
* to the near neighbor internal layer */
43
NOT_DEFINED
= 0
/* not yet used */
44
};
45
46
enum class
TENTING_MODE
47
{
48
FROM_BOARD
= 0,
49
TENTED
= 1,
50
NOT_TENTED
= 2
51
};
52
53
enum class
COVERING_MODE
54
{
55
FROM_BOARD
= 0,
56
COVERED
= 1,
57
NOT_COVERED
= 2
58
};
59
60
enum class
PLUGGING_MODE
61
{
62
FROM_BOARD
= 0,
63
PLUGGED
= 1,
64
NOT_PLUGGED
= 2
65
};
66
67
enum class
CAPPING_MODE
68
{
69
FROM_BOARD
= 0,
70
CAPPED
= 1,
71
NOT_CAPPED
= 2
72
};
73
74
enum class
FILLING_MODE
75
{
76
FROM_BOARD
= 0,
77
FILLED
= 1,
78
NOT_FILLED
= 2
79
};
80
81
#define UNDEFINED_DRILL_DIAMETER -1
//< Undefined via drill diameter.
82
83
class
PCB_TRACK
;
84
class
PCB_VIA
;
85
class
PCB_ARC
;
PCB_ARC
Definition
pcb_track.h:257
PCB_TRACK
Definition
pcb_track.h:57
PCB_VIA
Definition
pcb_track.h:355
VIA_STYLE_TYPE::BURIED
@ BURIED
Definition
drc_re_via_style_constraint_data.h:32
VIA_STYLE_TYPE::THROUGH
@ THROUGH
Definition
drc_re_via_style_constraint_data.h:29
VIA_STYLE_TYPE::BLIND
@ BLIND
Definition
drc_re_via_style_constraint_data.h:31
IPC4761_FEATURES::CAPPED
@ CAPPED
Definition
gendrill_writer_base.h:67
NOT_FILLED
static const bool NOT_FILLED
Definition
gr_basic.cpp:31
FILLED
static const bool FILLED
Definition
gr_basic.cpp:30
exposureType::COVERED
@ COVERED
Definition
ipc2581_types.h:209
FILLING_MODE
FILLING_MODE
Definition
pcb_track_types.h:75
VIATYPE
VIATYPE
Definition
pcb_track_types.h:37
VIATYPE::NOT_DEFINED
@ NOT_DEFINED
Definition
pcb_track_types.h:43
TENTING_MODE
TENTING_MODE
Definition
pcb_track_types.h:47
TENTING_MODE::NOT_TENTED
@ NOT_TENTED
Definition
pcb_track_types.h:50
TENTING_MODE::FROM_BOARD
@ FROM_BOARD
Definition
pcb_track_types.h:48
TENTING_MODE::TENTED
@ TENTED
Definition
pcb_track_types.h:49
COVERING_MODE
COVERING_MODE
Definition
pcb_track_types.h:54
COVERING_MODE::NOT_COVERED
@ NOT_COVERED
Definition
pcb_track_types.h:57
ENDPOINT_T
ENDPOINT_T
Definition
pcb_track_types.h:30
ENDPOINT_END
@ ENDPOINT_END
Definition
pcb_track_types.h:32
ENDPOINT_START
@ ENDPOINT_START
Definition
pcb_track_types.h:31
PLUGGING_MODE
PLUGGING_MODE
Definition
pcb_track_types.h:61
PLUGGING_MODE::NOT_PLUGGED
@ NOT_PLUGGED
Definition
pcb_track_types.h:64
PLUGGING_MODE::PLUGGED
@ PLUGGED
Definition
pcb_track_types.h:63
CAPPING_MODE
CAPPING_MODE
Definition
pcb_track_types.h:68
CAPPING_MODE::NOT_CAPPED
@ NOT_CAPPED
Definition
pcb_track_types.h:71
MICROVIA
@ MICROVIA
Microvia.
Definition
router_tool.cpp:133
src
pcbnew
pcb_track_types.h
Generated on Fri Jun 26 2026 00:05:41 for KiCad PCB EDA Suite by
1.13.2