2020-04-14 18:11:50 +00:00
|
|
|
/*
|
|
|
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2020 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
|
|
|
* Copyright (C) 2016-2020 KiCad Developers, see AUTHORS.txt for contributors.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, you may find one here:
|
|
|
|
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
|
|
* or you may search the http://www.gnu.org website for the version 2 license,
|
|
|
|
* or you may write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
2021-06-10 01:24:15 +00:00
|
|
|
#ifndef DEFAULT_VALUES_H
|
|
|
|
#define DEFAULT_VALUES_H
|
2020-04-14 18:11:50 +00:00
|
|
|
|
|
|
|
|
2021-07-25 11:42:19 +00:00
|
|
|
///< The size of the rectangle indicating an unconnected wire or label
|
2020-04-14 18:11:50 +00:00
|
|
|
#define DANGLING_SYMBOL_SIZE 12
|
|
|
|
|
|
|
|
///< The default pin len value when creating pins(can be changed in preference menu)
|
|
|
|
#define DEFAULT_PIN_LENGTH 100
|
|
|
|
|
|
|
|
///< The default pin number size when creating pins(can be changed in preference menu)
|
|
|
|
#define DEFAULT_PINNUM_SIZE 50
|
|
|
|
|
|
|
|
///< The default pin name size when creating pins(can be changed in preference menu)
|
|
|
|
#define DEFAULT_PINNAME_SIZE 50
|
|
|
|
|
|
|
|
///< The default selection highlight thickness (can be changed in preference menu)
|
|
|
|
#define DEFAULTSELECTIONTHICKNESS 3
|
|
|
|
|
|
|
|
///< The default line width in mils. (can be changed in preference menu)
|
|
|
|
#define DEFAULT_LINE_THICKNESS 6
|
|
|
|
|
|
|
|
///< The default wire width in mils. (can be changed in preference menu)
|
|
|
|
#define DEFAULT_WIRE_THICKNESS 6
|
|
|
|
|
|
|
|
///< The default bus width in mils. (can be changed in preference menu)
|
|
|
|
#define DEFAULT_BUS_THICKNESS 12
|
|
|
|
|
|
|
|
///< The default noconnect size in mils.
|
|
|
|
#define DEFAULT_NOCONNECT_SIZE 48
|
|
|
|
|
|
|
|
///< The default junction diameter in mils. (can be changed in preference menu)
|
2020-10-08 17:04:53 +00:00
|
|
|
#define DEFAULT_JUNCTION_DIAM 36
|
2020-04-14 18:11:50 +00:00
|
|
|
|
2021-06-09 19:32:58 +00:00
|
|
|
///< The default bus and wire entry size in mils.
|
2020-04-14 18:11:50 +00:00
|
|
|
#define DEFAULT_SCH_ENTRY_SIZE 100
|
|
|
|
|
|
|
|
///< The default text size in mils. (can be changed in preference menu)
|
|
|
|
#define DEFAULT_TEXT_SIZE 50
|
|
|
|
|
2020-11-17 16:02:47 +00:00
|
|
|
///< Ratio of the font height to the baseline of the text above the wire.
|
2021-07-25 11:42:19 +00:00
|
|
|
#define DEFAULT_TEXT_OFFSET_RATIO 0.15
|
|
|
|
|
|
|
|
///< Ratio of the font height to space around global labels
|
|
|
|
#define DEFAULT_LABEL_SIZE_RATIO 0.375
|
2020-11-17 16:02:47 +00:00
|
|
|
|
2020-08-26 17:29:44 +00:00
|
|
|
///< The offset of the pin name string from the end of the pin in mils.
|
|
|
|
#define DEFAULT_PIN_NAME_OFFSET 20
|
|
|
|
|
2020-08-31 14:11:54 +00:00
|
|
|
///< The intersheets references prefix string
|
|
|
|
#define DEFAULT_IREF_PREFIX "["
|
|
|
|
|
|
|
|
///< The intersheets references suffix string
|
|
|
|
#define DEFAULT_IREF_SUFFIX "]"
|
|
|
|
|
2020-12-03 15:10:23 +00:00
|
|
|
///< Radius of snap "gravity well"
|
|
|
|
#define SNAP_RANGE 55
|
|
|
|
|
2020-08-26 17:29:44 +00:00
|
|
|
#endif
|