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 (C) 2016-2021 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#ifndef DEFAULT_VALUES_H
26#define DEFAULT_VALUES_H
27
28
30#define DANGLING_SYMBOL_SIZE 12
31
33#define UNSELECTED_END_SIZE 4
34
36#define TEXT_ANCHOR_SIZE 8
37
39#define DEFAULT_PIN_LENGTH 100
40
42#define DEFAULT_PINNUM_SIZE 50
43
45#define DEFAULT_PINNAME_SIZE 50
46
48#define DEFAULTSELECTIONTHICKNESS 3
49
51#define DEFAULT_LINE_WIDTH_MILS 6
52
54#define DEFAULT_WIRE_WIDTH_MILS 6
55
57#define DEFAULT_BUS_WIDTH_MILS 12
58
60#define DEFAULT_NOCONNECT_SIZE 48
61
63#define DEFAULT_JUNCTION_DIAM 36
64
66#define DEFAULT_SCH_ENTRY_SIZE 100
67
69#define DEFAULT_TEXT_SIZE 50
70
72#define DEFAULT_TEXT_OFFSET_RATIO 0.15
73
75#define DEFAULT_LABEL_SIZE_RATIO 0.375
76
78#define DEFAULT_PIN_NAME_OFFSET 20
79
81#define DEFAULT_IREF_PREFIX "["
82
84#define DEFAULT_IREF_SUFFIX "]"
85
87#define SNAP_RANGE 55
88
89#endif