KiCad PCB EDA Suite
Loading...
Searching...
No Matches
default_values.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) 2020 Jean-Pierre Charras, jp.charras at wanadoo.fr
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#ifndef DEFAULT_VALUES_H
22#define DEFAULT_VALUES_H
23
24
26#define DANGLING_SYMBOL_SIZE 12
27
29#define UNSELECTED_END_SIZE 4
30
32#define TEXT_ANCHOR_SIZE 8
33
35#define DEFAULT_PIN_LENGTH 100
36
38#define DEFAULT_PINNUM_SIZE 50
39
41#define DEFAULT_PINNAME_SIZE 50
42
44#define DEFAULTSELECTIONTHICKNESS 3
45
47#define DEFAULT_LINE_WIDTH_MILS 6
48
50#define DEFAULT_WIRE_WIDTH_MILS 6
51
53#define DEFAULT_BUS_WIDTH_MILS 12
54
56#define DEFAULT_NOCONNECT_SIZE 48
57
59#define DEFAULT_JUNCTION_DIAM 36
60
62#define DEFAULT_SCH_ENTRY_SIZE 100
63
65#define DEFAULT_TEXT_SIZE 50
66
68#define DEFAULT_TEXT_OFFSET_RATIO 0.15
69
71#define DEFAULT_LABEL_SIZE_RATIO 0.375
72
74#define DEFAULT_PIN_NAME_OFFSET 20
75
77#define DEFAULT_IREF_PREFIX "["
78
80#define DEFAULT_IREF_SUFFIX "]"
81
83#define SNAP_RANGE 55
84
85#endif