KiCad PCB EDA Suite
board_design_settings.h File Reference

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
 
#define DEFAULT_COPPEREDGECLEARANCE   0.01
 
#define LEGACY_COPPEREDGECLEARANCE   -0.01
 
#define MINIMUM_ERROR_SIZE_MM   0.001
 
#define MAXIMUM_ERROR_SIZE_MM   0.1
 

Enumerations

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

Macro Definition Documentation

◆ DEFAULT_BOARD_THICKNESS_MM

#define DEFAULT_BOARD_THICKNESS_MM   1.6

Definition at line 49 of file board_design_settings.h.

◆ DEFAULT_COPPER_LINE_WIDTH

#define DEFAULT_COPPER_LINE_WIDTH   0.20

Definition at line 35 of file board_design_settings.h.

◆ DEFAULT_COPPER_TEXT_SIZE

#define DEFAULT_COPPER_TEXT_SIZE   1.5

Definition at line 41 of file board_design_settings.h.

◆ DEFAULT_COPPER_TEXT_WIDTH

#define DEFAULT_COPPER_TEXT_WIDTH   0.30

Definition at line 45 of file board_design_settings.h.

◆ DEFAULT_COPPEREDGECLEARANCE

#define DEFAULT_COPPEREDGECLEARANCE   0.01

Definition at line 70 of file board_design_settings.h.

◆ DEFAULT_COURTYARD_WIDTH

#define DEFAULT_COURTYARD_WIDTH   0.05

Definition at line 37 of file board_design_settings.h.

◆ DEFAULT_CUSTOMDPAIRGAP

#define DEFAULT_CUSTOMDPAIRGAP   0.18

Definition at line 60 of file board_design_settings.h.

◆ DEFAULT_CUSTOMDPAIRVIAGAP

#define DEFAULT_CUSTOMDPAIRVIAGAP   0.18

Definition at line 61 of file board_design_settings.h.

◆ DEFAULT_CUSTOMDPAIRWIDTH

#define DEFAULT_CUSTOMDPAIRWIDTH   0.125

Definition at line 59 of file board_design_settings.h.

◆ DEFAULT_CUSTOMTRACKWIDTH

#define DEFAULT_CUSTOMTRACKWIDTH   0.2

Definition at line 58 of file board_design_settings.h.

◆ DEFAULT_EDGE_WIDTH

#define DEFAULT_EDGE_WIDTH   0.05

Definition at line 36 of file board_design_settings.h.

◆ DEFAULT_HOLETOHOLEMIN

#define DEFAULT_HOLETOHOLEMIN   0.25

Definition at line 68 of file board_design_settings.h.

◆ DEFAULT_LINE_WIDTH

#define DEFAULT_LINE_WIDTH   0.10

Definition at line 38 of file board_design_settings.h.

◆ DEFAULT_MICROVIASMINDRILL

#define DEFAULT_MICROVIASMINDRILL   0.1

Definition at line 67 of file board_design_settings.h.

◆ DEFAULT_MICROVIASMINSIZE

#define DEFAULT_MICROVIASMINSIZE   0.2

Definition at line 66 of file board_design_settings.h.

◆ DEFAULT_PCB_EDGE_THICKNESS

#define DEFAULT_PCB_EDGE_THICKNESS   0.15

Definition at line 51 of file board_design_settings.h.

◆ DEFAULT_SILK_LINE_WIDTH

#define DEFAULT_SILK_LINE_WIDTH   0.12

Definition at line 34 of file board_design_settings.h.

◆ DEFAULT_SILK_TEXT_SIZE

#define DEFAULT_SILK_TEXT_SIZE   1.0

Definition at line 40 of file board_design_settings.h.

◆ DEFAULT_SILK_TEXT_WIDTH

#define DEFAULT_SILK_TEXT_WIDTH   0.15

Definition at line 44 of file board_design_settings.h.

◆ DEFAULT_SOLDERMASK_CLEARANCE

#define DEFAULT_SOLDERMASK_CLEARANCE   0.051

Definition at line 53 of file board_design_settings.h.

◆ DEFAULT_SOLDERMASK_MIN_WIDTH

#define DEFAULT_SOLDERMASK_MIN_WIDTH   0.25

Definition at line 54 of file board_design_settings.h.

◆ DEFAULT_SOLDERPASTE_CLEARANCE

#define DEFAULT_SOLDERPASTE_CLEARANCE   0.0

Definition at line 55 of file board_design_settings.h.

◆ DEFAULT_SOLDERPASTE_RATIO

#define DEFAULT_SOLDERPASTE_RATIO   0.0

Definition at line 56 of file board_design_settings.h.

◆ DEFAULT_TEXT_SIZE

#define DEFAULT_TEXT_SIZE   1.0

Definition at line 42 of file board_design_settings.h.

◆ DEFAULT_TEXT_WIDTH

#define DEFAULT_TEXT_WIDTH   0.15

Definition at line 46 of file board_design_settings.h.

◆ DEFAULT_TRACKMINWIDTH

#define DEFAULT_TRACKMINWIDTH   0.2

Definition at line 63 of file board_design_settings.h.

◆ DEFAULT_VIASMINDRILL

#define DEFAULT_VIASMINDRILL   0.3

Definition at line 65 of file board_design_settings.h.

◆ DEFAULT_VIASMINSIZE

#define DEFAULT_VIASMINSIZE   0.4

Definition at line 64 of file board_design_settings.h.

◆ LEGACY_COPPEREDGECLEARANCE

#define LEGACY_COPPEREDGECLEARANCE   -0.01

Definition at line 71 of file board_design_settings.h.

◆ MAXIMUM_ERROR_SIZE_MM

#define MAXIMUM_ERROR_SIZE_MM   0.1

Definition at line 75 of file board_design_settings.h.

◆ MINIMUM_ERROR_SIZE_MM

#define MINIMUM_ERROR_SIZE_MM   0.001

Definition at line 74 of file board_design_settings.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
LAYER_CLASS_SILK 
LAYER_CLASS_COPPER 
LAYER_CLASS_EDGES 
LAYER_CLASS_COURTYARD 
LAYER_CLASS_OTHERS 
LAYER_CLASS_COUNT 

Definition at line 159 of file board_design_settings.h.