| 
    KiCad PCB EDA Suite
    
   | 
 
#include <memory>#include <netclass.h>#include <project/net_settings.h>#include <board_stackup_manager/board_stackup.h>#include <drc/drc_engine.h>#include <lset.h>#include <settings/nested_settings.h>#include <widgets/ui_common.h>#include <zone_settings.h>#include <teardrop/teardrop_parameters.h>#include <router/pns_meander.h>Go to the source code of this file.
Classes | |
| struct | VIA_DIMENSION | 
| Container to handle a stock of specific vias each with unique diameter and drill sizes in the BOARD class.  More... | |
| struct | DIFF_PAIR_DIMENSION | 
| Container to handle a stock of specific differential pairs each with unique track width, gap and via gap.  More... | |
| struct | TEXT_ITEM_INFO | 
| class | BOARD_DESIGN_SETTINGS | 
| Container for design settings for a BOARD object.  More... | |
Enumerations | |
| enum | {  LAYER_CLASS_SILK = 0 , LAYER_CLASS_COPPER , LAYER_CLASS_EDGES , LAYER_CLASS_COURTYARD , LAYER_CLASS_FAB , LAYER_CLASS_OTHERS , LAYER_CLASS_COUNT }  | 
| #define DEFAULT_BOARD_THICKNESS_MM 1.6 | 
Definition at line 60 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS(), and ALTIUM_PCB::ConvertComponentBody6ToFootprintItem().
| #define DEFAULT_COPPER_LINE_WIDTH 0.2 | 
Definition at line 43 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS(), FOOTPRINT_EDITOR_SETTINGS::FOOTPRINT_EDITOR_SETTINGS(), and PCB_TARGET::PCB_TARGET().
| #define DEFAULT_COPPER_TEXT_SIZE 1.5 | 
Definition at line 49 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS(), and FOOTPRINT_EDITOR_SETTINGS::FOOTPRINT_EDITOR_SETTINGS().
| #define DEFAULT_COPPER_TEXT_WIDTH 0.30 | 
Definition at line 53 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS(), and FOOTPRINT_EDITOR_SETTINGS::FOOTPRINT_EDITOR_SETTINGS().
| #define DEFAULT_COPPEREDGECLEARANCE 0.5 | 
Definition at line 93 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_COURTYARD_WIDTH 0.05 | 
Definition at line 45 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS(), FOOTPRINT::BuildCourtyardCaches(), FOOTPRINT_EDITOR_SETTINGS::FOOTPRINT_EDITOR_SETTINGS(), PCB_IO_EAGLE::packageWire(), PCB_IO_EASYEDA_PARSER::ParseFootprint(), and PCB_IO_EASYEDAPRO_PARSER::ParseFootprint().
| #define DEFAULT_CUSTOMDPAIRGAP 0.18 | 
Definition at line 77 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_CUSTOMDPAIRVIAGAP 0.18 | 
Definition at line 78 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_CUSTOMDPAIRWIDTH 0.125 | 
Definition at line 76 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_CUSTOMTRACKWIDTH 0.2 | 
Definition at line 75 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_DIMENSION_ARROW_LENGTH 50 | 
Definition at line 56 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS(), and FOOTPRINT_EDITOR_SETTINGS::FOOTPRINT_EDITOR_SETTINGS().
| #define DEFAULT_DIMENSION_EXTENSION_OFFSET 0.5 | 
Definition at line 57 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS(), and FOOTPRINT_EDITOR_SETTINGS::FOOTPRINT_EDITOR_SETTINGS().
| #define DEFAULT_DP_MEANDER_SPACING 1.0 | 
Definition at line 81 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_EDGE_WIDTH 0.05 | 
Definition at line 44 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS(), FOOTPRINT_EDITOR_SETTINGS::FOOTPRINT_EDITOR_SETTINGS(), and PCB_IO_EAGLE::packageWire().
| #define DEFAULT_HOLECLEARANCE 0.25 | 
Definition at line 91 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_HOLETOHOLEMIN 0.25 | 
Definition at line 90 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_LINE_WIDTH 0.10 | 
Definition at line 46 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS(), Build_Board_Characteristics_Table(), Build_Board_Stackup_Table(), FOOTPRINT_EDITOR_SETTINGS::FOOTPRINT_EDITOR_SETTINGS(), BOARD_ITEM::GetStroke(), PCB_IO_EAGLE::packageWire(), PCB_IO_KICAD_SEXPR_PARSER::parsePCB_SHAPE(), PCB_SHAPE::PCB_SHAPE(), PCB_SHAPE::PCB_SHAPE(), and PCB_SHAPE::SetIsProxyItem().
| #define DEFAULT_MEANDER_SPACING 0.6 | 
Definition at line 80 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_MICROVIASMINDRILL 0.1 | 
Definition at line 89 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_MICROVIASMINSIZE 0.2 | 
Definition at line 88 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_MINCLEARANCE 0.0 | 
Definition at line 83 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_MINCONNECTION 0.0 | 
Definition at line 84 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_MINGROOVEWIDTH 0.0 | 
Definition at line 97 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_MINRESOLVEDSPOKES 2 | 
Definition at line 99 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_MINTHROUGHDRILL 0.3 | 
Definition at line 87 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_PAD_DRILL_DIAMETER_MM 0.8 | 
Definition at line 113 of file board_design_settings.h.
Referenced by DIALOG_PAD_PROPERTIES::PadTypeSelected(), and BOARD_DESIGN_SETTINGS::SetDefaultMasterPad().
| #define DEFAULT_PAD_HEIGTH_MM 1.27 | 
Definition at line 112 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::SetDefaultMasterPad().
| #define DEFAULT_PAD_RR_RADIUS_RATIO 0.15 | 
Definition at line 114 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::SetDefaultMasterPad().
| #define DEFAULT_PAD_WIDTH_MM 2.54 | 
Definition at line 111 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::SetDefaultMasterPad().
| #define DEFAULT_PCB_EDGE_THICKNESS 0.15 | 
Definition at line 62 of file board_design_settings.h.
| #define DEFAULT_SILK_LINE_WIDTH 0.1 | 
Definition at line 42 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS(), FOOTPRINT_EDITOR_SETTINGS::FOOTPRINT_EDITOR_SETTINGS(), and PCB_IO_EAGLE::packageWire().
| #define DEFAULT_SILK_TEXT_SIZE 1.0 | 
Definition at line 48 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS(), and FOOTPRINT_EDITOR_SETTINGS::FOOTPRINT_EDITOR_SETTINGS().
| #define DEFAULT_SILK_TEXT_WIDTH 0.1 | 
Definition at line 52 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS(), and FOOTPRINT_EDITOR_SETTINGS::FOOTPRINT_EDITOR_SETTINGS().
| #define DEFAULT_SILKCLEARANCE 0.0 | 
Definition at line 96 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_SOLDERMASK_EXPANSION 0.0 | 
Definition at line 66 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_SOLDERMASK_MIN_WIDTH 0.0 | 
Definition at line 70 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_SOLDERMASK_TO_COPPER_CLEARANCE 0.0 | 
Definition at line 68 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_SOLDERPASTE_CLEARANCE 0.0 | 
Definition at line 72 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_SOLDERPASTE_RATIO 0.0 | 
Definition at line 73 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_TEXT_SIZE 1.0 | 
Definition at line 50 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_TEXT_WIDTH 0.15 | 
Definition at line 54 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS(), and FOOTPRINT_EDITOR_SETTINGS::FOOTPRINT_EDITOR_SETTINGS().
| #define DEFAULT_TRACKMINWIDTH 0.0 | 
Definition at line 85 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define DEFAULT_VIASMINSIZE 0.5 | 
Definition at line 86 of file board_design_settings.h.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
| #define LEGACY_COPPEREDGECLEARANCE -0.01 | 
Definition at line 94 of file board_design_settings.h.
| #define MAXIMUM_CLEARANCE pcbIUScale.mmToIU( 500 ) | 
Definition at line 104 of file board_design_settings.h.
Referenced by DRC_ENGINE::EvalRules(), BOARD_DESIGN_SETTINGS::GetBiggestClearanceValue(), and PANEL_SETUP_NETCLASSES::validateNetclassClearance().
| #define MAXIMUM_ERROR_SIZE_MM 0.1 | 
Definition at line 102 of file board_design_settings.h.
Referenced by PANEL_SETUP_CONSTRAINTS::TransferDataFromWindow().
| #define MAXIMUM_LINE_WIDTH_MM 100.0 | 
Definition at line 108 of file board_design_settings.h.
Referenced by PANEL_FP_EDITOR_GRAPHICS_DEFAULTS::TransferDataFromWindow(), and PANEL_SETUP_TEXT_AND_GRAPHICS::TransferDataFromWindow().
| #define MINIMUM_ERROR_SIZE_MM 0.001 | 
Definition at line 101 of file board_design_settings.h.
Referenced by PANEL_SETUP_CONSTRAINTS::TransferDataFromWindow().
| #define MINIMUM_LINE_WIDTH_MM 0.005 | 
Definition at line 107 of file board_design_settings.h.
Referenced by PANEL_FP_EDITOR_GRAPHICS_DEFAULTS::TransferDataFromWindow(), and PANEL_SETUP_TEXT_AND_GRAPHICS::TransferDataFromWindow().
| anonymous enum | 
| Enumerator | |
|---|---|
| LAYER_CLASS_SILK | |
| LAYER_CLASS_COPPER | |
| LAYER_CLASS_EDGES | |
| LAYER_CLASS_COURTYARD | |
| LAYER_CLASS_FAB | |
| LAYER_CLASS_OTHERS | |
| LAYER_CLASS_COUNT | |
Definition at line 200 of file board_design_settings.h.