Horizon
Loading...
Searching...
No Matches
horizon::BoardLayers Class Reference

Public Types

enum  Layer {
  LAST_USER_LAYER = 1007 , FIRST_USER_LAYER = 1000 , USER1 = FIRST_USER_LAYER + 0 , USER2 = FIRST_USER_LAYER + 1 ,
  USER3 = FIRST_USER_LAYER + 2 , USER4 = FIRST_USER_LAYER + 3 , USER5 = FIRST_USER_LAYER + 4 , USER6 = FIRST_USER_LAYER + 5 ,
  USER7 = FIRST_USER_LAYER + 6 , USER8 = FIRST_USER_LAYER + 7 , TOP_NOTES = 200 , OUTLINE_NOTES = 110 ,
  L_OUTLINE = 100 , TOP_COURTYARD = 60 , TOP_ASSEMBLY = 50 , TOP_PACKAGE = 40 ,
  TOP_PASTE = 30 , TOP_SILKSCREEN = 20 , TOP_MASK = 10 , TOP_COPPER = 0 ,
  IN1_COPPER = -1 , IN2_COPPER = -2 , IN3_COPPER = -3 , IN4_COPPER = -4 ,
  IN5_COPPER = -5 , IN6_COPPER = -6 , IN7_COPPER = -7 , IN8_COPPER = -8 ,
  BOTTOM_COPPER = -100 , BOTTOM_MASK = -110 , BOTTOM_SILKSCREEN = -120 , BOTTOM_PASTE = -130 ,
  BOTTOM_PACKAGE = -140 , BOTTOM_ASSEMBLY = -150 , BOTTOM_COURTYARD = -160 , BOTTOM_NOTES = -200
}

Static Public Member Functions

static bool is_copper (int l)
static bool is_copper (const LayerRange &l)
static bool is_silkscreen (int l)
static bool is_user (int l)
static std::string get_layer_name (int l)
static const std::vector< int > & get_layers ()

Static Public Attributes

static const unsigned int max_user_layers = LAST_USER_LAYER - FIRST_USER_LAYER + 1
static const LayerRange layer_range_through {BoardLayers::TOP_COPPER, BoardLayers::BOTTOM_COPPER}
static const unsigned int max_inner_layers = 8

The documentation for this class was generated from the following files: