|
KiCad PCB EDA Suite
|
Go to the source code of this file.
Enumerations | |
| enum class | STACKUP_TABLE_COLUMN_ID { LAYER_NAME , TYPE , MATERIAL , THICKNESS , COLOR , EPSILON_R , LOSS_TANGENT } |
Functions | |
| const GENERATED_TABLE_SCHEMA & | StackupTableSchema () |
| Every column a stackup table can show, all of them by default. | |
| std::vector< GENERATED_TABLE_ROW > | BuildStackupTableRows (const BOARD &aBoard, const std::vector< GENERATED_TABLE_COLUMN > &aColumns, GENERATED_TABLE_UNITS aUnits, int aPrecision) |
| One row per stackup layer, and per sublayer of a split dielectric, top to bottom. | |
|
strong |
| Enumerator | |
|---|---|
| LAYER_NAME | |
| TYPE | |
| MATERIAL | |
| THICKNESS | |
| COLOR | |
| EPSILON_R | |
| LOSS_TANGENT | |
Definition at line 31 of file stackup_table_model.h.
| std::vector< GENERATED_TABLE_ROW > BuildStackupTableRows | ( | const BOARD & | aBoard, |
| const std::vector< GENERATED_TABLE_COLUMN > & | aColumns, | ||
| GENERATED_TABLE_UNITS | aUnits, | ||
| int | aPrecision ) |
One row per stackup layer, and per sublayer of a split dielectric, top to bottom.
Reads a synchronized copy of the stackup so a stale stored stackup is reported as the board now is without being rewritten. Keys are "L:<canonical layer name>" for board layers and "D:<canonical name of the copper layer above>:<sublayer index>" for dielectrics. A layer rename does not change the key of a row that still reports the same layer, so its formatting stays with it.
Definition at line 134 of file stackup_table_model.cpp.
References BS_ITEM_TYPE_COPPER, BS_ITEM_TYPE_DIELECTRIC, BOARD::GetDesignSettings(), BOARD_STACKUP::GetList(), BOARD::GetStackupOrDefault(), GENERATED_TABLE_ROW::m_Cells, GENERATED_TABLE_ROW::m_Key, name, rows, BOARD_STACKUP::SynchronizeWithBoard(), and UNDEFINED_LAYER.
Referenced by PCB_STACKUP_TABLE::generate().
| const GENERATED_TABLE_SCHEMA & StackupTableSchema | ( | ) |
Every column a stackup table can show, all of them by default.
Lengths default to mm with three decimals.
Definition at line 36 of file stackup_table_model.cpp.
References _HKI, COLOR, EPSILON_R, LAYER_NAME, LEFT, LOSS_TANGENT, MATERIAL, MM, RIGHT, THICKNESS, and TYPE.
Referenced by PCB_STACKUP_TABLE::PCB_STACKUP_TABLE(), and PCB_STACKUP_TABLE::Schema().