TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
tmk::model::LayerDef Struct Reference

#include <model/board.hpp>

Public Attributes

int ordinal = 0
 KiCad layer id as written in the file.
std::string name
 canonical name, e.g. "F.Cu", "In1.Cu", "Edge.Cuts"
std::string file_name
 name as written in this file's layer table (old boards may use "Front")
std::string type
 signal, power, mixed, jumper, user
std::string user_name
 optional user-visible name
int copper_index = -1
 stack index for copper layers, -1 otherwise

Detailed Description

Definition at line 26 of file board.hpp.

Member Data Documentation

◆ copper_index

int tmk::model::LayerDef::copper_index = -1

stack index for copper layers, -1 otherwise

Definition at line 32 of file board.hpp.

◆ file_name

std::string tmk::model::LayerDef::file_name

name as written in this file's layer table (old boards may use "Front")

Definition at line 29 of file board.hpp.

◆ name

std::string tmk::model::LayerDef::name

canonical name, e.g. "F.Cu", "In1.Cu", "Edge.Cuts"

Definition at line 28 of file board.hpp.

◆ ordinal

int tmk::model::LayerDef::ordinal = 0

KiCad layer id as written in the file.

Definition at line 27 of file board.hpp.

◆ type

std::string tmk::model::LayerDef::type

signal, power, mixed, jumper, user

Definition at line 30 of file board.hpp.

◆ user_name

std::string tmk::model::LayerDef::user_name

optional user-visible name

Definition at line 31 of file board.hpp.


The documentation for this struct was generated from the following file: