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

The copper layers of each via (vias) and pad (pads) as KiCad 10.0.6 flashes them (PCB_VIA::FlashLayer, PAD::FlashLayer): a layer keeps its copper unless the padstack removes unconnected copper there and neither a zone connection (zone_layers) nor a track, arc, via or pad of the net (not of the pad's own footprint) touches it. More...

#include <drc/copper.hpp>

Public Attributes

std::vector< model::LayerMask > vias
std::vector< model::LayerMask > pads

Detailed Description

The copper layers of each via (vias) and pad (pads) as KiCad 10.0.6 flashes them (PCB_VIA::FlashLayer, PAD::FlashLayer): a layer keeps its copper unless the padstack removes unconnected copper there and neither a zone connection (zone_layers) nor a track, arc, via or pad of the net (not of the pad's own footprint) touches it.

Touching is CN_VISITOR's test: on such a layer an item is only its hole. Items that remove nothing keep their whole span.

Definition at line 72 of file copper.hpp.

Member Data Documentation

◆ pads

std::vector<model::LayerMask> tmk::drc::Flashing::pads

Definition at line 73 of file copper.hpp.

◆ vias

std::vector<model::LayerMask> tmk::drc::Flashing::vias

Definition at line 73 of file copper.hpp.


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