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

A group as routed, measured on copper. More...

#include <route/bus.hpp>

Public Attributes

model::NetId net = 0
bool routed = false
 every pad of the net is joined
double length = 0
 nm, tracks and vias
double via_length = 0
 nm, the vias' part of length
int vias = 0
model::LayerMask layers = 0
 copper layers carrying tracks of the net
bool followed = false
 routed with the group's reference via count and layers

Detailed Description

A group as routed, measured on copper.

Length is what KiCad's skew check compares: track length (arcs included) plus the via length above, so a member with more vias than the others is longer by their height. KiCad also adds pad-to-die lengths and shortens a track end inside a pad or via; neither is modelled (micrometres, or zero).

Definition at line 71 of file bus.hpp.

Member Data Documentation

◆ followed

bool tmk::route::BusMember::followed = false

routed with the group's reference via count and layers

Definition at line 78 of file bus.hpp.

◆ layers

model::LayerMask tmk::route::BusMember::layers = 0

copper layers carrying tracks of the net

Definition at line 77 of file bus.hpp.

◆ length

double tmk::route::BusMember::length = 0

nm, tracks and vias

Definition at line 74 of file bus.hpp.

◆ net

model::NetId tmk::route::BusMember::net = 0

Definition at line 72 of file bus.hpp.

◆ routed

bool tmk::route::BusMember::routed = false

every pad of the net is joined

Definition at line 73 of file bus.hpp.

◆ via_length

double tmk::route::BusMember::via_length = 0

nm, the vias' part of length

Definition at line 75 of file bus.hpp.

◆ vias

int tmk::route::BusMember::vias = 0

Definition at line 76 of file bus.hpp.


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