|
KiCad PCB EDA Suite
|
#include <board_tables/stackup_table_model.h>#include <string>#include <base_units.h>#include <board.h>#include <board_design_settings.h>#include <board_stackup_manager/board_stackup.h>#include <board_stackup_manager/stackup_predefined_prms.h>#include <eda_units.h>#include <i18n_utility.h>#include <string_utils.h>#include <wx/translation.h>Go to the source code of this file.
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. | |
| 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().