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

#include <model/board.hpp>

Public Attributes

std::string lib_id
std::string reference
std::string value
std::string description
std::string keywords
 footprint (descr ...)/(tags ...) or Description property; read-only
std::vector< std::pair< std::string, std::string > > properties
 every (property "key" "value") in file order (MPN, Manufacturer, Datasheet ...); read-only
Point pos
double angle = 0
bool back = false
bool locked = false
bool attr_smd = false
bool attr_through_hole = false
bool board_only = false
bool exclude_from_pos = false
bool exclude_from_bom = false
bool dnp = false
bool allow_missing_courtyard = false
std::vector< int > pads
std::vector< int > graphics
Coord clearance = -1
 footprint-level clearance override, -1 = none
Coord mask_margin = INT64_MIN
 footprint-level solder-mask expansion (unset = INT64_MIN)
ZoneConnect zone_connect = ZoneConnect::Inherited
 (zone_connect n): the pads' default
std::vector< std::vector< std::string > > net_tie_groups
 pad numbers joined by the footprint's own copper
std::string uuid
sexpr::NodeId node = sexpr::kNoNode

Detailed Description

Definition at line 109 of file board.hpp.

Member Data Documentation

◆ allow_missing_courtyard

bool tmk::model::Footprint::allow_missing_courtyard = false

Definition at line 119 of file board.hpp.

◆ angle

double tmk::model::Footprint::angle = 0

Definition at line 115 of file board.hpp.

◆ attr_smd

bool tmk::model::Footprint::attr_smd = false

Definition at line 118 of file board.hpp.

◆ attr_through_hole

bool tmk::model::Footprint::attr_through_hole = false

Definition at line 118 of file board.hpp.

◆ back

bool tmk::model::Footprint::back = false

Definition at line 116 of file board.hpp.

◆ board_only

bool tmk::model::Footprint::board_only = false

Definition at line 118 of file board.hpp.

◆ clearance

Coord tmk::model::Footprint::clearance = -1

footprint-level clearance override, -1 = none

Definition at line 122 of file board.hpp.

◆ description

std::string tmk::model::Footprint::description

Definition at line 112 of file board.hpp.

◆ dnp

bool tmk::model::Footprint::dnp = false

Definition at line 119 of file board.hpp.

◆ exclude_from_bom

bool tmk::model::Footprint::exclude_from_bom = false

Definition at line 119 of file board.hpp.

◆ exclude_from_pos

bool tmk::model::Footprint::exclude_from_pos = false

Definition at line 118 of file board.hpp.

◆ graphics

std::vector<int> tmk::model::Footprint::graphics

Definition at line 121 of file board.hpp.

◆ keywords

std::string tmk::model::Footprint::keywords

footprint (descr ...)/(tags ...) or Description property; read-only

Definition at line 112 of file board.hpp.

◆ lib_id

std::string tmk::model::Footprint::lib_id

Definition at line 110 of file board.hpp.

◆ locked

bool tmk::model::Footprint::locked = false

Definition at line 117 of file board.hpp.

◆ mask_margin

Coord tmk::model::Footprint::mask_margin = INT64_MIN

footprint-level solder-mask expansion (unset = INT64_MIN)

Definition at line 123 of file board.hpp.

◆ net_tie_groups

std::vector<std::vector<std::string> > tmk::model::Footprint::net_tie_groups

pad numbers joined by the footprint's own copper

Definition at line 125 of file board.hpp.

◆ node

sexpr::NodeId tmk::model::Footprint::node = sexpr::kNoNode

Definition at line 127 of file board.hpp.

◆ pads

std::vector<int> tmk::model::Footprint::pads

Definition at line 120 of file board.hpp.

◆ pos

Point tmk::model::Footprint::pos

Definition at line 114 of file board.hpp.

◆ properties

std::vector<std::pair<std::string, std::string> > tmk::model::Footprint::properties

every (property "key" "value") in file order (MPN, Manufacturer, Datasheet ...); read-only

Definition at line 113 of file board.hpp.

◆ reference

std::string tmk::model::Footprint::reference

Definition at line 111 of file board.hpp.

◆ uuid

std::string tmk::model::Footprint::uuid

Definition at line 126 of file board.hpp.

◆ value

std::string tmk::model::Footprint::value

Definition at line 111 of file board.hpp.

◆ zone_connect

ZoneConnect tmk::model::Footprint::zone_connect = ZoneConnect::Inherited

(zone_connect n): the pads' default

Definition at line 124 of file board.hpp.


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