#include <model/board.hpp>
|
| struct | CustomPrim |
| | Custom-pad primitives in the pad frame, each already grown by half its stroke width (KiCad draws them with a round pen and fills them): a polygon or rectangle, a polyline (line, arc) or a disc (circle; pts[0] is the centre). More...
|
Definition at line 47 of file board.hpp.
◆ angle
| double tmk::model::Pad::angle = 0 |
absolute orientation, degrees
Definition at line 53 of file board.hpp.
◆ chamfer_corners
| std::uint8_t tmk::model::Pad::chamfer_corners = 0 |
bit 0 TL, 1 TR, 2 BL, 3 BR
Definition at line 62 of file board.hpp.
◆ chamfer_ratio
| double tmk::model::Pad::chamfer_ratio = 0 |
◆ clearance
| Coord tmk::model::Pad::clearance = -1 |
local override, -1 = none
Definition at line 72 of file board.hpp.
◆ copper
copper layers the pad has copper on
Definition at line 58 of file board.hpp.
◆ custom_prims
| std::vector<CustomPrim> tmk::model::Pad::custom_prims |
◆ drill_offset
| Point tmk::model::Pad::drill_offset |
copper shape offset from the hole (pad position), in the pad's own frame
Definition at line 57 of file board.hpp.
◆ drill_oval
| bool tmk::model::Pad::drill_oval = false |
◆ drill_x
| Coord tmk::model::Pad::drill_x = 0 |
◆ drill_y
| Coord tmk::model::Pad::drill_y = 0 |
◆ footprint
| int tmk::model::Pad::footprint = -1 |
◆ layers
| std::vector<std::string> tmk::model::Pad::layers |
all layer names as written (incl. mask/paste, wildcards expanded)
Definition at line 59 of file board.hpp.
◆ mask_margin
| Coord tmk::model::Pad::mask_margin = INT64_MIN |
local solder-mask expansion (unset = INT64_MIN)
Definition at line 73 of file board.hpp.
◆ net
| NetId tmk::model::Pad::net = 0 |
◆ node
◆ number
| std::string tmk::model::Pad::number |
◆ pinfunction
| std::string tmk::model::Pad::pinfunction |
Schematic pin name and electrical type (KiCad 6+ boards; empty in older files).
Read-only, used to recognise component roles (doc 15 ยง3.1).
Definition at line 79 of file board.hpp.
◆ pintype
| std::string tmk::model::Pad::pintype |
◆ pos
| Point tmk::model::Pad::pos |
absolute centre
Definition at line 52 of file board.hpp.
◆ roundrect_ratio
| double tmk::model::Pad::roundrect_ratio = 0 |
◆ shape
◆ size_x
| Coord tmk::model::Pad::size_x = 0 |
◆ size_y
| Coord tmk::model::Pad::size_y = 0 |
◆ thermal_bridge_angle
| double tmk::model::Pad::thermal_bridge_angle = -1 |
degrees; -1 = KiCad's default (45 for round pads, 90 otherwise)
Definition at line 76 of file board.hpp.
◆ thermal_bridge_width
| Coord tmk::model::Pad::thermal_bridge_width = -1 |
local overrides, -1 = none
Definition at line 75 of file board.hpp.
◆ thermal_gap
| Coord tmk::model::Pad::thermal_gap = -1 |
◆ trapezoid_dx
| Coord tmk::model::Pad::trapezoid_dx = 0 |
◆ trapezoid_dy
| Coord tmk::model::Pad::trapezoid_dy = 0 |
◆ type
◆ zone_connect
(zone_connect n)
Definition at line 74 of file board.hpp.
The documentation for this struct was generated from the following file: