One constraint inside a custom rule, e.g. (constraint clearance (min 0.2mm)).
More...
#include <model/rules.hpp>
|
| std::string | type |
| | clearance, track_width, disallow, …
|
| std::optional< Coord > | min |
| std::optional< Coord > | opt |
| std::optional< Coord > | max |
| | lengths in nm (angles/counts are stored ×1e6 as well)
|
| std::vector< std::string > | items |
| | disallow item types, or other bare words
|
| bool | time = false |
| | length or skew given in ps or fs: min/opt/max are attoseconds (KiCad's time domain)
|
One constraint inside a custom rule, e.g. (constraint clearance (min 0.2mm)).
Definition at line 94 of file rules.hpp.
◆ items
| std::vector<std::string> tmk::model::Constraint::items |
disallow item types, or other bare words
Definition at line 97 of file rules.hpp.
◆ max
| std::optional<Coord> tmk::model::Constraint::max |
lengths in nm (angles/counts are stored ×1e6 as well)
Definition at line 96 of file rules.hpp.
◆ min
| std::optional<Coord> tmk::model::Constraint::min |
◆ opt
| std::optional<Coord> tmk::model::Constraint::opt |
◆ time
| bool tmk::model::Constraint::time = false |
length or skew given in ps or fs: min/opt/max are attoseconds (KiCad's time domain)
Definition at line 98 of file rules.hpp.
◆ type
| std::string tmk::model::Constraint::type |
clearance, track_width, disallow, …
Definition at line 95 of file rules.hpp.
The documentation for this struct was generated from the following file: