KiCad PCB EDA Suite
Loading...
Searching...
No Matches
board_adapter.cpp File Reference

Go to the source code of this file.

Macros

#define DEFAULT_BOARD_THICKNESS   pcbIUScale.mmToIU( 1.6 )
 
#define DEFAULT_COPPER_THICKNESS   pcbIUScale.mmToIU( 0.035 )
 
#define DEFAULT_TECH_LAYER_THICKNESS   pcbIUScale.mmToIU( 0.025 )
 
#define SOLDERPASTE_LAYER_THICKNESS   pcbIUScale.mmToIU( 0.04 )
 
#define ADD_COLOR(list, r, g, b, a, name)    list.emplace_back( r/255.0, g/255.0, b/255.0, a, name )
 
#define layerThicknessMargin   1.1
 

Variables

float g_BevelThickness3DU = 0.0f
 
static bool g_ColorsLoaded = false
 

Macro Definition Documentation

◆ ADD_COLOR

#define ADD_COLOR (   list,
  r,
  g,
  b,
  a,
  name 
)     list.emplace_back( r/255.0, g/255.0, b/255.0, a, name )

◆ DEFAULT_BOARD_THICKNESS

#define DEFAULT_BOARD_THICKNESS   pcbIUScale.mmToIU( 1.6 )

Definition at line 46 of file board_adapter.cpp.

◆ DEFAULT_COPPER_THICKNESS

#define DEFAULT_COPPER_THICKNESS   pcbIUScale.mmToIU( 0.035 )

Definition at line 47 of file board_adapter.cpp.

◆ DEFAULT_TECH_LAYER_THICKNESS

#define DEFAULT_TECH_LAYER_THICKNESS   pcbIUScale.mmToIU( 0.025 )

Definition at line 49 of file board_adapter.cpp.

◆ layerThicknessMargin

#define layerThicknessMargin   1.1

◆ SOLDERPASTE_LAYER_THICKNESS

#define SOLDERPASTE_LAYER_THICKNESS   pcbIUScale.mmToIU( 0.04 )

Definition at line 52 of file board_adapter.cpp.

Variable Documentation

◆ g_BevelThickness3DU

float g_BevelThickness3DU = 0.0f

Definition at line 72 of file board_adapter.cpp.

Referenced by BOARD_ADAPTER::InitSettings(), and LAYER_ITEM::Intersect().

◆ g_ColorsLoaded

bool g_ColorsLoaded = false
static