|
TraceMaker
C++ API of the engine
|
Copper items with exact shapes, built from the board model, for DRC and routing obstacles. More...
Go to the source code of this file.
Classes | |
| struct | tmk::drc::CopperItem |
| struct | tmk::drc::Hole |
| struct | tmk::drc::CopperModel |
| struct | tmk::drc::Flashing |
| 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... | |
Namespaces | |
| namespace | tmk |
| namespace | tmk::drc |
Enumerations | |
| enum class | tmk::drc::ItemKind : std::uint8_t { tmk::drc::Pad , tmk::drc::Track , tmk::drc::Arc , tmk::drc::Via , tmk::drc::Zone , tmk::drc::Graphic } |
Functions | |
| const char * | tmk::drc::kind_name (ItemKind k) |
| KiCad expression type names: Pad, Track, Arc, Via, Zone, Graphic. | |
| std::vector< geom::Shape > | tmk::drc::pad_shapes (const model::Pad &pad) |
| Pad copper shape in absolute coordinates. | |
| CopperModel | tmk::drc::build_copper (const model::Board &b) |
| model::LayerMask | tmk::drc::conditional_layers (const model::Via &v) |
| KiCad's ConditionallyFlashed: the layers of a via, or of a plated through-hole pad on a board of copper_count layers, whose copper depends on what connects there. | |
| model::LayerMask | tmk::drc::conditional_layers (const model::Pad &p, int copper_count) |
| Flashing | tmk::drc::flash_layers (const model::Board &b) |
| std::vector< std::vector< model::Point > > | tmk::drc::edge_loops (const std::vector< geom::Shape > &edges, Coord tol=2 '000, bool *all_closed=nullptr) |
| Closed loops chained from Edge.Cuts pieces whose ends meet within tol; pieces that close no loop are dropped (all_closed, if given, tells whether any was). | |
Copper items with exact shapes, built from the board model, for DRC and routing obstacles.
Definition in file copper.hpp.