KiCad PCB EDA Suite
|
#include <advanced_config.h>
Static Public Member Functions | |
static const ADVANCED_CFG & | GetCfg () |
Get the singleton instance's config, which is shared by all consumers. More... | |
Public Attributes | |
double | m_DrawArcAccuracy |
Distance from an arc end point and the estimated end point, when rotating from the start point to the end point. More... | |
double | m_DrawArcCenterMaxAngle |
When drawing an arc, the angle ( center - start ) - ( start - end ) can be limited to avoid extremely high radii. More... | |
double | m_MaxTangentAngleDeviation |
Maximum angle between the tangent line of an arc track and a connected straight track in order to commence arc dragging. More... | |
double | m_MaxTrackLengthToKeep |
Maximum track length to keep after doing an arc track resizing operation. More... | |
double | m_ExtraClearance |
Extra fill clearance for zone fills. More... | |
double | m_DRCEpsilon |
Epsilon for DRC tests. More... | |
double | m_SliverWidthTolerance |
Sliver tolerances for DRC. More... | |
double | m_SliverMinimumLength |
double | m_SliverAngleTolerance |
double | m_HoleWallThickness |
Hole wall plating thickness. More... | |
int | m_CoroutineStackSize |
Set the stack size for coroutines. More... | |
int | m_UpdateUIEventInterval |
The update interval the wxWidgets sends wxUpdateUIEvents to windows. More... | |
bool | m_ShowRouterDebugGraphics |
Show PNS router debug graphics. More... | |
bool | m_EnableRouterDump |
Enable PNS router to dump state information for debug purpose (press 0 while routing) More... | |
bool | m_HyperZoom |
Slide the zoom steps over for debugging things "up close". More... | |
bool | m_CompactSave |
Save files in compact display mode When is is not specified, points are written one per line. More... | |
bool | m_DrawTriangulationOutlines |
When true, strokes the triangulations with visible color. More... | |
bool | m_ExtraZoneDisplayModes |
When true, adds zone-display-modes for stroking the zone fracture boundaries and the zone triangulation. More... | |
double | m_MinPlotPenWidth |
Sets an absolute minimum pen width for plotting. More... | |
bool | m_DebugZoneFiller |
A mode that dumps the various stages of a F_Cu fill into In1_Cu through In9_Cu. More... | |
bool | m_DebugPDFWriter |
A mode that writes PDFs without compression. More... | |
double | m_SmallDrillMarkSize |
The diameter of the drill marks on print and plot outputs (in mm), when the "Drill marks" option is set to "Small mark". More... | |
bool | m_HotkeysDumper |
Enable the hotkeys dumper feature, used for generating documentation. More... | |
bool | m_DrawBoundingBoxes |
Draw GAL bounding boxes in painters. More... | |
bool | m_ShowPcbnewExportNetlist |
Enable exporting board editor netlist to a file for troubleshooting purposes. More... | |
bool | m_Skip3DModelFileCache |
Skip reading/writing 3d model file caches This does not prevent the models from being cached in memory meaning reopening the 3d viewer in the same project session will not reload model data from disk again. More... | |
bool | m_Skip3DModelMemoryCache |
Skip reading/writing 3d model memory caches This ensures 3d models are always reloaded from disk even if we previously opened the 3d viewer. More... | |
bool | m_HideVersionFromTitle |
Hides the build version from the KiCad manager frame title. More... | |
bool | m_ShowRepairSchematic |
bool | m_ShowEventCounters |
Shows debugging event counters in various places. More... | |
bool | m_AllowManualCanvasScale |
bool | m_ShowPropertiesPanel |
Show the properties panel in applications that it hasn't been fully released for. More... | |
int | m_3DRT_BevelHeight_um |
3D-Viewer, Raytracing Bevel height of layer items. More... | |
double | m_3DRT_BevelExtentFactor |
3D-Viewer raytracing factor applied to Extent.z of the item layer. More... | |
bool | m_UseClipper2 |
Use Clipper2 instead of Clipper1. More... | |
bool | m_Use3DConnexionDriver |
Use the 3DConnexion Driver. More... | |
bool | m_IncrementalConnectivity |
Use the new incremental netlister for realtime jobs. More... | |
int | m_DisambiguationMenuDelay |
The number of milliseconds to wait in a click before showing a disambiguation menu. More... | |
bool | m_EnableGenerators |
When true, enable support for generators. More... | |
bool | m_EnableGit |
When true, enable git integration. More... | |
bool | m_EnableEeschemaPrintCairo |
When true, enable Eeschema printing using Cairo. More... | |
bool | m_Enable2581 |
When true, enable output to 2581. More... | |
Private Member Functions | |
ADVANCED_CFG () | |
void | loadFromConfigFile () |
Load the config from the normal config file. More... | |
void | loadSettings (wxConfigBase &aCfg) |
Definition at line 63 of file advanced_config.h.
|
private |
Definition at line 308 of file advanced_config.cpp.
References AdvancedConfigMask, AC_STACK::default_stack, loadFromConfigFile(), m_3DRT_BevelExtentFactor, m_3DRT_BevelHeight_um, m_AllowManualCanvasScale, m_CompactSave, m_CoroutineStackSize, m_DebugPDFWriter, m_DebugZoneFiller, m_DisambiguationMenuDelay, m_DrawArcAccuracy, m_DrawArcCenterMaxAngle, m_DrawBoundingBoxes, m_DrawTriangulationOutlines, m_DRCEpsilon, m_EnableEeschemaPrintCairo, m_EnableGenerators, m_EnableGit, m_EnableRouterDump, m_ExtraClearance, m_ExtraZoneDisplayModes, m_HideVersionFromTitle, m_HoleWallThickness, m_HotkeysDumper, m_HyperZoom, m_IncrementalConnectivity, m_MaxTangentAngleDeviation, m_MaxTrackLengthToKeep, m_MinPlotPenWidth, m_ShowEventCounters, m_ShowPcbnewExportNetlist, m_ShowPropertiesPanel, m_ShowRepairSchematic, m_ShowRouterDebugGraphics, m_Skip3DModelFileCache, m_Skip3DModelMemoryCache, m_SliverAngleTolerance, m_SliverMinimumLength, m_SliverWidthTolerance, m_SmallDrillMarkSize, m_UpdateUIEventInterval, m_Use3DConnexionDriver, and m_UseClipper2.
|
static |
Get the singleton instance's config, which is shared by all consumers.
This configuration is read-only - to set options, users should add the parameters to their config files at ~/.config/kicad/advanced, or the platform equivalent.
Definition at line 372 of file advanced_config.cpp.
Referenced by SHAPE_POLY_SET::BooleanAdd(), SHAPE_POLY_SET::BooleanIntersection(), SHAPE_POLY_SET::BooleanSubtract(), SHAPE_POLY_SET::BooleanXor(), ZONE_FILLER::buildCopperItemClearances(), S3D_CACHE::checkCache(), PDF_PLOTTER::closePdfStream(), COROUTINE< ReturnType, ArgType >::COROUTINE(), DIALOG_PRINT_USING_PRINTER::DIALOG_PRINT_USING_PRINTER(), SCH_EDIT_FRAME::doReCreateMenuBar(), PCB_EDIT_FRAME::doReCreateMenuBar(), EDIT_TOOL::DragArcTrack(), KIGFX::OPENGL_GAL::drawTriangulatedPolyset(), PCB_POINT_EDITOR::editArcEndpointKeepTangent(), EVT_MENU_RANGE(), EVT_UPDATE_UI_RANGE(), PCB_PLUGIN::format(), formatPoly(), BOARD_DESIGN_SETTINGS::GetDRCEpsilon(), BOARD_DESIGN_SETTINGS::GetHolePlatingThickness(), ROUTER_TOOL::handleCommonEvents(), SHAPE_POLY_SET::Inflate(), HOTKEY_STORE::Init(), PGM_BASE::InitPgm(), BOARD_ADAPTER::InitSettings(), PANEL_HOTKEYS_EDITOR::installButtons(), LAYER_ITEM::Intersect(), SCH_EDIT_FRAME::KiwayMailIn(), S3D_CACHE::load(), PCB_BASE_FRAME::LoadSettings(), SIMULATOR_FRAME::LoadSimulator(), EE_SELECTION_TOOL::Main(), PL_SELECTION_TOOL::Main(), PCB_SELECTION_TOOL::Main(), FOOTPRINT_PREVIEW_PANEL::New(), NL_3D_VIEWER_PLUGIN::NL_3D_VIEWER_PLUGIN(), NL_PCBNEW_PLUGIN::NL_PCBNEW_PLUGIN(), NL_SCHEMATIC_PLUGIN::NL_SCHEMATIC_PLUGIN(), PROJECT_TREE_PANE::onRight(), PANEL_COMMON_SETTINGS::PANEL_COMMON_SETTINGS(), BRDITEMS_PLOTTER::PlotDrillMarks(), PlotLayerOutlines(), KICAD_MANAGER_FRAME::ProjectChanged(), SCH_EDIT_FRAME::RecalculateConnections(), SCH_EDIT_FRAME::ReCreateOptToolbar(), SYMBOL_EDIT_FRAME::ReCreateOptToolbar(), FOOTPRINT_EDIT_FRAME::ReCreateOptToolbar(), FOOTPRINT_VIEWER_FRAME::ReCreateOptToolbar(), PCB_EDIT_FRAME::ReCreateOptToolbar(), PNS::ROUTER::ROUTER(), DRC_TEST_PROVIDER_SLIVER_CHECKER::Run(), ERC_TESTER::RunTests(), KIGFX::SCH_RENDER_SETTINGS::SCH_RENDER_SETTINGS(), BOARD_EDITOR_CONTROL::setTransitions(), PCBNEW_PRINTOUT::setupPainter(), PNS_KICAD_IFACE::SetView(), EDA_BASE_FRAME::ShowPreferences(), SHAPE_POLY_SET::Simplify(), PDF_PLOTTER::startPdfStream(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testShapeLineChain(), PROJECT_TREE_PANE::updateGitStatusIcons(), SCH_EDIT_FRAME::WriteNetListFile(), ZONE_FILLER::ZONE_FILLER(), and PCB_EDIT_FRAME::~PCB_EDIT_FRAME().
|
private |
Load the config from the normal config file.
Definition at line 379 of file advanced_config.cpp.
References AdvancedConfigMask, getAdvancedCfgFilename(), and loadSettings().
Referenced by ADVANCED_CFG().
|
private |
Definition at line 405 of file advanced_config.cpp.
References AC_KEYS::AllowManualCanvasScale, AC_KEYS::CompactFileSave, AC_KEYS::CoroutineStackSize, AC_KEYS::DebugPDFWriter, AC_KEYS::DebugZoneFiller, AC_STACK::default_stack, AC_KEYS::DisambiguationTime, AC_KEYS::DrawArcAccuracy, AC_KEYS::DrawArcCenterStartEndMaxAngle, AC_KEYS::DrawBoundingBoxes, AC_KEYS::DRCEpsilon, AC_KEYS::DRCSliverAngleTolerance, AC_KEYS::DRCSliverMinimumLength, AC_KEYS::DRCSliverWidthTolerance, dumpCfg(), AC_KEYS::Enable2581, AC_KEYS::EnableEeschemaPrintCairo, AC_KEYS::EnableGenerators, AC_KEYS::EnableGit, AC_KEYS::EnableRouterDump, AC_KEYS::ExtraFillMargin, AC_KEYS::ExtraZoneDisplayModes, AC_KEYS::HideVersionFromTitle, AC_KEYS::HoleWallThickness, AC_KEYS::HotkeysDumper, AC_KEYS::HyperZoom, AC_KEYS::IncrementalConnectivity, m_3DRT_BevelExtentFactor, m_3DRT_BevelHeight_um, m_AllowManualCanvasScale, m_CompactSave, m_CoroutineStackSize, m_DebugPDFWriter, m_DebugZoneFiller, m_DisambiguationMenuDelay, m_DrawArcAccuracy, m_DrawArcCenterMaxAngle, m_DrawBoundingBoxes, m_DrawTriangulationOutlines, m_DRCEpsilon, m_Enable2581, m_EnableEeschemaPrintCairo, m_EnableGenerators, m_EnableGit, m_EnableRouterDump, m_ExtraClearance, m_ExtraZoneDisplayModes, m_HideVersionFromTitle, m_HoleWallThickness, m_HotkeysDumper, m_HyperZoom, m_IncrementalConnectivity, m_MaxTangentAngleDeviation, m_MaxTrackLengthToKeep, m_MinPlotPenWidth, m_ShowEventCounters, m_ShowPcbnewExportNetlist, m_ShowPropertiesPanel, m_ShowRepairSchematic, m_ShowRouterDebugGraphics, m_Skip3DModelFileCache, m_Skip3DModelMemoryCache, m_SliverAngleTolerance, m_SliverMinimumLength, m_SliverWidthTolerance, m_SmallDrillMarkSize, m_UpdateUIEventInterval, m_Use3DConnexionDriver, m_UseClipper2, AC_STACK::max_stack, AC_KEYS::MaxTangentTrackAngleDeviation, AC_KEYS::MaxTrackLengthToKeep, AC_STACK::min_stack, AC_KEYS::MinPlotPenWidth, AC_KEYS::ShowEventCounters, AC_KEYS::ShowPcbnewExportNetlist, AC_KEYS::ShowPropertiesPanel, AC_KEYS::ShowRepairSchematic, AC_KEYS::ShowRouterDebugGraphics, AC_KEYS::Skip3DModelFileCache, AC_KEYS::Skip3DModelMemoryCache, AC_KEYS::SmallDrillMarkSize, AC_KEYS::StrokeTriangulation, AC_KEYS::TraceMasks, AC_KEYS::UpdateUIEventInterval, AC_KEYS::Use3DConnexionDriver, AC_KEYS::UseClipper2, AC_GROUPS::V3D_RayTracing, AC_KEYS::V3DRT_BevelExtentFactor, AC_KEYS::V3DRT_BevelHeight_um, and wxConfigLoadSetups().
Referenced by loadFromConfigFile().