KiCad PCB EDA Suite
board_design_settings.cpp File Reference

BOARD_DESIGN_SETTINGS class functions. More...

#include <fctsys.h>
#include <common.h>
#include <class_board.h>
#include <layers_id_colors_and_visibility.h>
#include <kiface_i.h>
#include <pcbnew.h>
#include <board_design_settings.h>

Go to the source code of this file.

Classes

class  PARAM_CFG_LAYERS
 
class  PARAM_CFG_TRACKWIDTHS
 
class  PARAM_CFG_VIADIMENSIONS
 
class  PARAM_CFG_DIFFPAIRDIMENSIONS
 
class  PARAM_CFG_NETCLASSES
 

Macros

#define CopperLayerCountKey   wxT( "CopperLayerCount" )
 
#define BoardThicknessKey   wxT( "BoardThickness" )
 
#define LayerKeyPrefix   wxT( "Layer" )
 
#define LayerNameKey   wxT( "Name" )
 
#define LayerTypeKey   wxT( "Type" )
 
#define LayerEnabledKey   wxT( "Enabled" )
 
#define NetclassNameKey   wxT( "Name" )
 
#define ClearanceKey   wxT( "Clearance" )
 
#define TrackWidthKey   wxT( "TrackWidth" )
 
#define ViaDiameterKey   wxT( "ViaDiameter" )
 
#define ViaDrillKey   wxT( "ViaDrill" )
 
#define uViaDiameterKey   wxT( "uViaDiameter" )
 
#define uViaDrillKey   wxT( "uViaDrill" )
 
#define dPairWidthKey   wxT( "dPairWidth" )
 
#define dPairGapKey   wxT( "dPairGap" )
 
#define dPairViaGapKey   wxT( "dPairViaGap" )
 
#define READ_MM(aKey, aDefault)   Millimeter2iu( aConfig->ReadDouble( aKey, aDefault ) )
 
#define WRITE_MM(aKey, aValue)   aConfig->Write( aKey, Iu2Millimeter( aValue ) )
 

Detailed Description

BOARD_DESIGN_SETTINGS class functions.

Definition in file board_design_settings.cpp.

Macro Definition Documentation

◆ BoardThicknessKey

#define BoardThicknessKey   wxT( "BoardThickness" )

Definition at line 39 of file board_design_settings.cpp.

◆ ClearanceKey

#define ClearanceKey   wxT( "Clearance" )

Definition at line 47 of file board_design_settings.cpp.

◆ CopperLayerCountKey

#define CopperLayerCountKey   wxT( "CopperLayerCount" )

Definition at line 38 of file board_design_settings.cpp.

◆ dPairGapKey

#define dPairGapKey   wxT( "dPairGap" )

Definition at line 54 of file board_design_settings.cpp.

◆ dPairViaGapKey

#define dPairViaGapKey   wxT( "dPairViaGap" )

Definition at line 55 of file board_design_settings.cpp.

◆ dPairWidthKey

#define dPairWidthKey   wxT( "dPairWidth" )

Definition at line 53 of file board_design_settings.cpp.

◆ LayerEnabledKey

#define LayerEnabledKey   wxT( "Enabled" )

Definition at line 44 of file board_design_settings.cpp.

◆ LayerKeyPrefix

#define LayerKeyPrefix   wxT( "Layer" )

Definition at line 41 of file board_design_settings.cpp.

◆ LayerNameKey

#define LayerNameKey   wxT( "Name" )

Definition at line 42 of file board_design_settings.cpp.

◆ LayerTypeKey

#define LayerTypeKey   wxT( "Type" )

Definition at line 43 of file board_design_settings.cpp.

◆ NetclassNameKey

#define NetclassNameKey   wxT( "Name" )

Definition at line 46 of file board_design_settings.cpp.

◆ READ_MM

#define READ_MM (   aKey,
  aDefault 
)    Millimeter2iu( aConfig->ReadDouble( aKey, aDefault ) )

◆ TrackWidthKey

#define TrackWidthKey   wxT( "TrackWidth" )

Definition at line 48 of file board_design_settings.cpp.

◆ uViaDiameterKey

#define uViaDiameterKey   wxT( "uViaDiameter" )

Definition at line 51 of file board_design_settings.cpp.

◆ uViaDrillKey

#define uViaDrillKey   wxT( "uViaDrill" )

Definition at line 52 of file board_design_settings.cpp.

◆ ViaDiameterKey

#define ViaDiameterKey   wxT( "ViaDiameter" )

Definition at line 49 of file board_design_settings.cpp.

◆ ViaDrillKey

#define ViaDrillKey   wxT( "ViaDrill" )

Definition at line 50 of file board_design_settings.cpp.

◆ WRITE_MM

#define WRITE_MM (   aKey,
  aValue 
)    aConfig->Write( aKey, Iu2Millimeter( aValue ) )