KiCad PCB EDA Suite
advanced_config.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) 2019 KiCad Developers, see AUTHORS.txt for contributors.
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2
9  * of the License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, you may find one here:
18  * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
19  * or you may search the http://www.gnu.org website for the version 2 license,
20  * or you may write to the Free Software Foundation, Inc.,
21  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
22  */
23 
24 #ifndef ADVANCED_CFG__H
25 #define ADVANCED_CFG__H
26 
27 class wxConfigBase;
28 
59 {
60 public:
67  static const ADVANCED_CFG& GetCfg();
68 
74 
80 
86 
91  double m_DRCEpsilon;
92 
98 
103 
108 
113 
119 
124 
130 
136 
141 
146 
151 
152 private:
153  ADVANCED_CFG();
154 
158  void loadFromConfigFile();
159 
160  /*
161  * Load config from the given config base
162  */
163  void loadSettings( wxConfigBase& aCfg );
164 };
165 
166 #endif // ADVANCED_CFG__H
bool m_CompactSave
Save files in compact display mode When is is not specified, points are written one per line.
bool m_SkipBoundingBoxOnFpLoad
Skip bounding box calculation when loading footprints.
bool m_PluginAltiumSch
When true, enable Altium Schematic import (*.SchDoc) the current implementation is highly incomplete.
bool m_DrawTriangulationOutlines
When true, strokes the triangulations with visible color.
double m_DrawArcCenterMaxAngle
When drawing an arc, the angle ( center - start ) - ( start - end ) can be limited to avoid extremely...
double m_DrawArcAccuracy
Distance from an arc end point and the estimated end point, when rotating from the start point to the...
bool m_ShowRouterDebugGraphics
Show PNS router debug graphics.
void loadSettings(wxConfigBase &aCfg)
void loadFromConfigFile()
Load the config from the normal config file.
double m_ExtraClearance
Extra fill clearance for zone fills.
double m_DRCEpsilon
Epsilon for DRC tests.
double m_MinPlotPenWidth
Sets an absolute minimum pen width for plotting.
Class containing "advanced" configuration options.
int m_CoroutineStackSize
Set the stack size for coroutines.
bool m_DebugPDFWriter
A mode that writes PDFs without compression.
static const ADVANCED_CFG & GetCfg()
Get the singleton instance's config, which is shared by all consumers.
bool m_RealTimeConnectivity
Do real-time connectivity.
bool m_DebugZoneFiller
A mode that dumps the various stages of a F_Cu fill into In1_Cu through In9_Cu.
double m_HoleWallThickness
Hole wall plating thickness.