|
TraceMaker
C++ API of the engine
|
The length a via adds to its net in KiCad's length calculation (KiCad 10, BOARD_STACKUP::GetLayerDistance): the stackup between the two copper layers the via joins, with the copper of an outer layer in full and of an inner layer by half. More...
#include <drc/length.hpp>
Public Member Functions | |
| Coord | between (int a, int b) const |
| copper indices, either order; 0 for a == b | |
Public Attributes | |
| std::vector< Coord > | from |
| std::vector< Coord > | to |
| per copper layer: where a via starting / ending on it begins / ends, nm from the top | |
The length a via adds to its net in KiCad's length calculation (KiCad 10, BOARD_STACKUP::GetLayerDistance): the stackup between the two copper layers the via joins, with the copper of an outer layer in full and of an inner layer by half.
A board without a stackup block gets KiCad's default one (35 um copper, 10 um per solder mask, the rest of the board thickness shared evenly between the dielectrics). Empty (every via 0) when the project turns "use height for length calculations" off.
Definition at line 18 of file length.hpp.
| Coord tmk::drc::ViaHeights::between | ( | int | a, |
| int | b ) const |
copper indices, either order; 0 for a == b
| std::vector<Coord> tmk::drc::ViaHeights::from |
Definition at line 19 of file length.hpp.
| std::vector<Coord> tmk::drc::ViaHeights::to |
per copper layer: where a via starting / ending on it begins / ends, nm from the top
Definition at line 19 of file length.hpp.