|
TraceMaker
C++ API of the engine
|
Classes | |
| struct | LayerDef |
| struct | Net |
| struct | Pad |
| struct | Graphic |
| struct | Text |
| struct | Footprint |
| struct | Track |
| struct | ArcTrack |
| struct | Via |
| struct | Zone |
| struct | Board |
| struct | NetlistComponent |
| struct | NetlistNode |
| struct | NetlistNet |
| struct | Netlist |
| struct | NetClass |
| struct | BoardMinimums |
| struct | Constraint |
| One constraint inside a custom rule, e.g. (constraint clearance (min 0.2mm)). More... | |
| struct | CustomRule |
| struct | DesignRules |
| struct | StackupLayer |
| struct | DielectricGap |
| The dielectric between two adjacent copper layers, combined over every stackup layer between them. More... | |
| struct | Stackup |
| struct | Box |
| struct | Point |
Typedefs | |
| using | NetId = std::int32_t |
| 0 = no net | |
| using | LayerMask = std::uint64_t |
| bit i = copper layer i in stack order (0 = F.Cu, last = B.Cu) | |
Enumerations | |
| enum class | PadType : std::uint8_t { Smd , ThruHole , NpThruHole , Connect } |
| enum class | PadShape : std::uint8_t { Circle , Rect , Oval , Trapezoid , RoundRect , ChamferedRect , Custom } |
| enum class | ZoneConnect : std::int8_t { Inherited = -1 , None = 0 , Thermal = 1 , Full = 2 , ThtThermal = 3 } |
| How a pad joins a zone of its net (KiCad's ZONE_CONNECTION; the file stores these numbers). More... | |
| enum class | ViaType : std::uint8_t { Through , Blind , Micro } |
Functions | |
| constexpr LayerMask | layer_bit (int copper_index) |
| bool | wildcard_match (std::string_view pattern, std::string_view text) |
| KiCad net-class pattern match: shell-style wildcards (* and ?), case-sensitive. | |
| bool | pattern_match (const std::string &pattern, const std::string &text) |
| Net-class pattern: wildcard match or full regular-expression match (KiCad accepts both). | |
| using tmk::model::LayerMask = std::uint64_t |
| using tmk::model::NetId = std::int32_t |
|
strong |
|
strong |
|
strong |
|
strong |
|
inlineconstexpr |
| bool tmk::model::pattern_match | ( | const std::string & | pattern, |
| const std::string & | text ) |
Net-class pattern: wildcard match or full regular-expression match (KiCad accepts both).
| bool tmk::model::wildcard_match | ( | std::string_view | pattern, |
| std::string_view | text ) |
KiCad net-class pattern match: shell-style wildcards (* and ?), case-sensitive.