KiCad PCB EDA Suite
board_design_settings.h File Reference
#include <class_pad.h>
#include <class_track.h>
#include <netclass.h>
#include <config_params.h>

Go to the source code of this file.

Classes

struct  VIA_DIMENSION
 Struct VIA_DIMENSION is a small helper container to handle a stock of specific vias each with unique diameter and drill sizes in the BOARD class. More...
 
struct  DIFF_PAIR_DIMENSION
 Struct DIFF_PAIR_DIMENSION is a small helper container to handle a stock of specific differential pairs each with unique track width, gap and via gap. More...
 
class  BOARD_DESIGN_SETTINGS
 Class BOARD_DESIGN_SETTINGS contains design settings for a BOARD object. More...
 

Macros

#define DEFAULT_SILK_LINE_WIDTH   0.12
 
#define DEFAULT_COPPER_LINE_WIDTH   0.20
 
#define DEFAULT_EDGE_WIDTH   0.05
 
#define DEFAULT_COURTYARD_WIDTH   0.05
 
#define DEFAULT_LINE_WIDTH   0.10
 
#define DEFAULT_SILK_TEXT_SIZE   1.0
 
#define DEFAULT_COPPER_TEXT_SIZE   1.5
 
#define DEFAULT_TEXT_SIZE   1.0
 
#define DEFAULT_SILK_TEXT_WIDTH   0.15
 
#define DEFAULT_COPPER_TEXT_WIDTH   0.30
 
#define DEFAULT_TEXT_WIDTH   0.15
 
#define DEFAULT_BOARD_THICKNESS_MM   1.6
 
#define DEFAULT_PCB_EDGE_THICKNESS   0.15
 
#define DEFAULT_SOLDERMASK_CLEARANCE   0.051
 
#define DEFAULT_SOLDERMASK_MIN_WIDTH   0.25
 
#define DEFAULT_SOLDERPASTE_CLEARANCE   0.0
 
#define DEFAULT_SOLDERPASTE_RATIO   0.0
 
#define DEFAULT_CUSTOMTRACKWIDTH   0.2
 
#define DEFAULT_CUSTOMDPAIRWIDTH   0.125
 
#define DEFAULT_CUSTOMDPAIRGAP   0.18
 
#define DEFAULT_CUSTOMDPAIRVIAGAP   0.18
 
#define DEFAULT_TRACKMINWIDTH   0.2
 
#define DEFAULT_VIASMINSIZE   0.4
 
#define DEFAULT_VIASMINDRILL   0.3
 
#define DEFAULT_MICROVIASMINSIZE   0.2
 
#define DEFAULT_MICROVIASMINDRILL   0.1
 
#define DEFAULT_HOLETOHOLEMIN   0.25
 

Enumerations

enum  {
  LAYER_CLASS_SILK = 0, LAYER_CLASS_COPPER, LAYER_CLASS_EDGES, LAYER_CLASS_COURTYARD,
  LAYER_CLASS_OTHERS, LAYER_CLASS_COUNT
}
 

Macro Definition Documentation

#define DEFAULT_BOARD_THICKNESS_MM   1.6
#define DEFAULT_COPPER_LINE_WIDTH   0.20
#define DEFAULT_COURTYARD_WIDTH   0.05
#define DEFAULT_CUSTOMDPAIRGAP   0.18
#define DEFAULT_CUSTOMDPAIRVIAGAP   0.18
#define DEFAULT_CUSTOMDPAIRWIDTH   0.125
#define DEFAULT_CUSTOMTRACKWIDTH   0.2
#define DEFAULT_EDGE_WIDTH   0.05
#define DEFAULT_HOLETOHOLEMIN   0.25

Definition at line 67 of file board_design_settings.h.

Referenced by BOARD_DESIGN_SETTINGS::AppendConfigs().

#define DEFAULT_MICROVIASMINDRILL   0.1
#define DEFAULT_MICROVIASMINSIZE   0.2
#define DEFAULT_PCB_EDGE_THICKNESS   0.15

Definition at line 50 of file board_design_settings.h.

Referenced by EAGLE_PLUGIN::loadPlain().

#define DEFAULT_SOLDERMASK_CLEARANCE   0.051
#define DEFAULT_SOLDERMASK_MIN_WIDTH   0.25
#define DEFAULT_SOLDERPASTE_CLEARANCE   0.0

Definition at line 54 of file board_design_settings.h.

Referenced by BOARD_DESIGN_SETTINGS::AppendConfigs().

#define DEFAULT_SOLDERPASTE_RATIO   0.0

Definition at line 55 of file board_design_settings.h.

Referenced by BOARD_DESIGN_SETTINGS::AppendConfigs().

#define DEFAULT_TRACKMINWIDTH   0.2
#define DEFAULT_VIASMINDRILL   0.3
#define DEFAULT_VIASMINSIZE   0.4

Enumeration Type Documentation

anonymous enum
Enumerator
LAYER_CLASS_SILK 
LAYER_CLASS_COPPER 
LAYER_CLASS_EDGES 
LAYER_CLASS_COURTYARD 
LAYER_CLASS_OTHERS 
LAYER_CLASS_COUNT 

Definition at line 151 of file board_design_settings.h.