|
TraceMaker
C++ API of the engine
|
Zone refill in the engine (doc 05 §36): the fills KiCad 10's zone filler would draw for the board's current copper, so connectivity can be judged as kicad-cli pcb drc --refill-zones judges it. More...
#include <string>#include <vector>#include "geom/clip.hpp"#include "model/board.hpp"#include "model/rules.hpp"Go to the source code of this file.
Classes | |
| struct | tmk::drc::RefillResult |
| struct | tmk::drc::StarvedThermal |
| A thermal relief KiCad's DRC reports as starved_thermal (DRC_TEST_PROVIDER_ZONE_CONNECTIONS::testZoneLayer): fewer spokes reach the zone's fill than the board's minimum (min_resolved_spokes, 2 by default), counting tracks that run from the pad into the fill; spokes into a fill island that touches nothing but this pad do not count unless the pad has no other. More... | |
Namespaces | |
| namespace | tmk |
| namespace | tmk::drc |
Functions | |
| RefillResult | tmk::drc::refill_zones (const model::Board &b, const model::DesignRules &r) |
| Follows ZONE_FILLER::fillCopperZone: outline within the board, thermal gaps around same-net pads, every other item knocked out at its clearance, spokes that reach the fill, minimum-width pruning, then islands without a pad removed by each zone's island_removal_mode. | |
| std::vector< StarvedThermal > | tmk::drc::starved_thermals (const model::Board &filled, const model::DesignRules &r) |
| On a board whose fills are current (refill_zones' board): every pad KiCad would report, in pad then zone order. | |
| std::vector< geom::Ring > | tmk::drc::thermal_spokes (const model::Pad &pad, const model::Zone &zone) |
| The four spoke polygons of a pad's thermal relief to a zone, as the zone filler draws them (buildThermalSpokes). | |
Zone refill in the engine (doc 05 §36): the fills KiCad 10's zone filler would draw for the board's current copper, so connectivity can be judged as kicad-cli pcb drc --refill-zones judges it.
The fills are not written to files.
Definition in file refill.hpp.