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, you may find one here:
19
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
20
* or you may search the http://www.gnu.org website for the version 2 license,
21
* or you may write to the Free Software Foundation, Inc.,
22
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23
*/
24
25
#pragma once
26
31
32
// Flag used in locate routines (from which endpoint work)
33
enum
ENDPOINT_T
:
int
34
{
35
ENDPOINT_START
= 0,
36
ENDPOINT_END
= 1
37
};
38
39
// Note that this enum must be synchronized to GAL_LAYER_ID
40
enum class
VIATYPE
:
int
41
{
42
THROUGH
= 4,
/* Always a through hole via */
43
BURIED
= 3,
/* this via can be on internal layers */
44
BLIND
= 2,
/* this via can be on internal layers */
45
MICROVIA
= 1,
/* this via which connect from an external layer
46
* to the near neighbor internal layer */
47
NOT_DEFINED
= 0
/* not yet used */
48
};
49
50
enum class
TENTING_MODE
51
{
52
FROM_BOARD
= 0,
53
TENTED
= 1,
54
NOT_TENTED
= 2
55
};
56
57
enum class
COVERING_MODE
58
{
59
FROM_BOARD
= 0,
60
COVERED
= 1,
61
NOT_COVERED
= 2
62
};
63
64
enum class
PLUGGING_MODE
65
{
66
FROM_BOARD
= 0,
67
PLUGGED
= 1,
68
NOT_PLUGGED
= 2
69
};
70
71
enum class
CAPPING_MODE
72
{
73
FROM_BOARD
= 0,
74
CAPPED
= 1,
75
NOT_CAPPED
= 2
76
};
77
78
enum class
FILLING_MODE
79
{
80
FROM_BOARD
= 0,
81
FILLED
= 1,
82
NOT_FILLED
= 2
83
};
84
85
#define UNDEFINED_DRILL_DIAMETER -1
//< Undefined via drill diameter.
86
87
class
PCB_TRACK
;
88
class
PCB_VIA
;
89
class
PCB_ARC
;
PCB_ARC
Definition
pcb_track.h:261
PCB_TRACK
Definition
pcb_track.h:61
PCB_VIA
Definition
pcb_track.h:359
VIA_STYLE_TYPE::BURIED
@ BURIED
Definition
drc_re_via_style_constraint_data.h:36
VIA_STYLE_TYPE::THROUGH
@ THROUGH
Definition
drc_re_via_style_constraint_data.h:33
VIA_STYLE_TYPE::BLIND
@ BLIND
Definition
drc_re_via_style_constraint_data.h:35
IPC4761_FEATURES::CAPPED
@ CAPPED
Definition
gendrill_writer_base.h:71
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:79
VIATYPE
VIATYPE
Definition
pcb_track_types.h:41
VIATYPE::NOT_DEFINED
@ NOT_DEFINED
Definition
pcb_track_types.h:47
TENTING_MODE
TENTING_MODE
Definition
pcb_track_types.h:51
TENTING_MODE::NOT_TENTED
@ NOT_TENTED
Definition
pcb_track_types.h:54
TENTING_MODE::FROM_BOARD
@ FROM_BOARD
Definition
pcb_track_types.h:52
TENTING_MODE::TENTED
@ TENTED
Definition
pcb_track_types.h:53
COVERING_MODE
COVERING_MODE
Definition
pcb_track_types.h:58
COVERING_MODE::NOT_COVERED
@ NOT_COVERED
Definition
pcb_track_types.h:61
ENDPOINT_T
ENDPOINT_T
Definition
pcb_track_types.h:34
ENDPOINT_END
@ ENDPOINT_END
Definition
pcb_track_types.h:36
ENDPOINT_START
@ ENDPOINT_START
Definition
pcb_track_types.h:35
PLUGGING_MODE
PLUGGING_MODE
Definition
pcb_track_types.h:65
PLUGGING_MODE::NOT_PLUGGED
@ NOT_PLUGGED
Definition
pcb_track_types.h:68
PLUGGING_MODE::PLUGGED
@ PLUGGED
Definition
pcb_track_types.h:67
CAPPING_MODE
CAPPING_MODE
Definition
pcb_track_types.h:72
CAPPING_MODE::NOT_CAPPED
@ NOT_CAPPED
Definition
pcb_track_types.h:75
MICROVIA
@ MICROVIA
Microvia.
Definition
router_tool.cpp:128
src
pcbnew
pcb_track_types.h
Generated on Fri Mar 13 2026 00:07:39 for KiCad PCB EDA Suite by
1.13.2