#include <model/board.hpp>
Definition at line 186 of file board.hpp.
◆ copper_count()
| int tmk::model::Board::copper_count |
( |
| ) |
const |
|
inline |
◆ copper_file_name()
| const std::string & tmk::model::Board::copper_file_name |
( |
int | idx | ) |
const |
|
inline |
◆ copper_index()
| int tmk::model::Board::copper_index |
( |
std::string_view | name | ) |
const |
-1 if not copper (canonical or file name)
◆ copper_name()
| const std::string & tmk::model::Board::copper_name |
( |
int | idx | ) |
const |
|
inline |
◆ edge_bbox()
| Box tmk::model::Board::edge_bbox |
( |
| ) |
const |
Bounding box of everything on Edge.Cuts (graphics stroke widths excluded).
◆ net_by_name()
| NetId tmk::model::Board::net_by_name |
( |
std::string_view | name | ) |
const |
◆ arcs
| std::vector<ArcTrack> tmk::model::Board::arcs |
◆ copper
| std::vector<int> tmk::model::Board::copper |
◆ footprints
| std::vector<Footprint> tmk::model::Board::footprints |
◆ generator
| std::string tmk::model::Board::generator |
◆ graphics
| std::vector<Graphic> tmk::model::Board::graphics |
◆ infer_graphic_nets
| bool tmk::model::Board::infer_graphic_nets = false |
Board-level copper graphics (polygons on a copper layer) take the net of the one net whose pads, tracks or vias they touch (a designer's manual pour); ones touching several nets stay net-less.
Off: every board copper graphic is net-less copper that no track may touch (route –soft-copper-graphics turns it on).
Definition at line 189 of file board.hpp.
◆ layers
| std::vector<LayerDef> tmk::model::Board::layers |
◆ named_nets
| bool tmk::model::Board::named_nets = false |
true for KiCad 10 "(net "name")" syntax
Definition at line 195 of file board.hpp.
◆ net_index
| std::unordered_map<std::string, NetId> tmk::model::Board::net_index |
◆ nets
| std::vector<Net> tmk::model::Board::nets |
nets[0] is the unnamed net
Definition at line 194 of file board.hpp.
◆ pad_to_mask_clearance
| Coord tmk::model::Board::pad_to_mask_clearance = 0 |
board solder-mask expansion for pads (setup)
Definition at line 205 of file board.hpp.
◆ pads
| std::vector<Pad> tmk::model::Board::pads |
◆ stackup
(setup (stackup ...)); present == false when the file has none
Definition at line 207 of file board.hpp.
◆ texts
| std::vector<Text> tmk::model::Board::texts |
◆ thickness
| Coord tmk::model::Board::thickness = 1'600'000 |
◆ tracks
| std::vector<Track> tmk::model::Board::tracks |
◆ version
| std::int64_t tmk::model::Board::version = 0 |
◆ vias
| std::vector<Via> tmk::model::Board::vias |
◆ vias_tented
| bool tmk::model::Board::vias_tented = false |
(setup (tenting front back)); old boards: untented
Definition at line 206 of file board.hpp.
◆ warnings
| std::vector<std::string> tmk::model::Board::warnings |
◆ zones
| std::vector<Zone> tmk::model::Board::zones |
The documentation for this struct was generated from the following file: