20#ifndef PADS_LAYER_MAPPER_H
21#define PADS_LAYER_MAPPER_H
100 const std::vector<PADS_LAYER_INFO>& aLayerInfos )
const;
LSET is a set of PCB_LAYER_IDs.
LSET GetPermittedLayers(PADS_LAYER_TYPE aType) const
PADS_LAYER_TYPE ParseLayerName(const std::string &aLayerName) const
static constexpr int LAYER_ASSEMBLY_TOP
static constexpr int LAYER_SILKSCREEN_BOTTOM
static constexpr int LAYER_PASTE_TOP
static constexpr int LAYER_SILKSCREEN_TOP
PADS_LAYER_TYPE GetLayerType(int aPadsLayer) const
static constexpr int LAYER_PLACEMENT_OUTLINE
static constexpr int LAYER_SOLDERMASK_TOP
static constexpr int LAYER_ASSEMBLY_BOTTOM
PCB_LAYER_ID mapInnerCopperLayer(int aPadsLayer) const
static constexpr int LAYER_DIMENSIONS
PCB_LAYER_ID GetAutoMapLayer(int aPadsLayer, PADS_LAYER_TYPE aType=PADS_LAYER_TYPE::UNKNOWN) const
Suggested KiCad layer for a PADS layer.
static constexpr int LAYER_PAD_STACK_BOTTOM
std::string normalizeLayerName(const std::string &aName) const
static constexpr int LAYER_PAD_STACK_TOP
static constexpr int LAYER_PASTE_BOTTOM
static std::string LayerTypeToString(PADS_LAYER_TYPE aType)
void SetCopperLayerCount(int aLayerCount)
static constexpr int LAYER_PAD_STACK_INNER
std::map< std::string, PADS_LAYER_TYPE > m_layerNameMap
static constexpr int LAYER_BOARD_OUTLINE
int GetCopperLayerCount() const
std::vector< INPUT_LAYER_DESC > BuildInputLayerDescriptions(const std::vector< PADS_LAYER_INFO > &aLayerInfos) const
void AddLayerNameMapping(const std::string &aName, PADS_LAYER_TYPE aType)
static constexpr int LAYER_DRILL_DRAWING
static constexpr int LAYER_SOLDERMASK_BOTTOM
PCB_LAYER_ID
A quick note on layer IDs:
PADS_LAYER_TYPE
Functional categories of PADS layers, independent of specific layer numbers.