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

#include <model/board.hpp>

Public Attributes

Point pos
Coord size = 0
Coord drill = 0
int layer_top = 0
int layer_bottom = 0
 copper indices, top <= bottom
ViaType type = ViaType::Through
NetId net = 0
bool locked = false
sexpr::NodeId node = sexpr::kNoNode
bool free = false
 (free yes): a stitching via whose net KiCad's connectivity never changes
UnconnectedLayers unconnected = UnconnectedLayers::KeepAll
LayerMask zone_layers = 0
 (zone_layer_connections): layers where a zone fill joins the via, so it keeps its copper

Detailed Description

Definition at line 162 of file board.hpp.

Member Data Documentation

◆ drill

Coord tmk::model::Via::drill = 0

Definition at line 164 of file board.hpp.

◆ free

bool tmk::model::Via::free = false

(free yes): a stitching via whose net KiCad's connectivity never changes

Definition at line 170 of file board.hpp.

◆ layer_bottom

int tmk::model::Via::layer_bottom = 0

copper indices, top <= bottom

Definition at line 165 of file board.hpp.

◆ layer_top

int tmk::model::Via::layer_top = 0

Definition at line 165 of file board.hpp.

◆ locked

bool tmk::model::Via::locked = false

Definition at line 168 of file board.hpp.

◆ net

NetId tmk::model::Via::net = 0

Definition at line 167 of file board.hpp.

◆ node

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

Definition at line 169 of file board.hpp.

◆ pos

Point tmk::model::Via::pos

Definition at line 163 of file board.hpp.

◆ size

Coord tmk::model::Via::size = 0

Definition at line 164 of file board.hpp.

◆ type

ViaType tmk::model::Via::type = ViaType::Through

Definition at line 166 of file board.hpp.

◆ unconnected

UnconnectedLayers tmk::model::Via::unconnected = UnconnectedLayers::KeepAll

Definition at line 171 of file board.hpp.

◆ zone_layers

LayerMask tmk::model::Via::zone_layers = 0

(zone_layer_connections): layers where a zone fill joins the via, so it keeps its copper

Definition at line 172 of file board.hpp.


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