|
TraceMaker
C++ API of the engine
|
Connector edge pull for the placer (doc 15 §5.2 edge; CONN-01, USB2-11, DISP-02), opt-in (tracemaker-place –edge-attraction): the anchor of every instance with a connector edge rule (mode soft/on, not advisory, not disabled by the user), once per footprint, never a locked part and never a pin header or socket (board-to-board and jumper headers, CONN-01 note). More...
#include <crules/engine.hpp>
Public Attributes | |
| int | footprint = -1 |
| std::vector< Point > | body |
| int | weight = 20 |
| 2 x signal weight, like ESD-01 (doc 15 §5.2) | |
| double | max_mm = 0 |
| the rule's limit (report only) | |
| std::string | rule |
| std::string | name |
| "CONN-01", "~CONN-01 J3 edge" | |
Connector edge pull for the placer (doc 15 §5.2 edge; CONN-01, USB2-11, DISP-02), opt-in (tracemaker-place –edge-attraction): the anchor of every instance with a connector edge rule (mode soft/on, not advisory, not disabled by the user), once per footprint, never a locked part and never a pin header or socket (board-to-board and jumper headers, CONN-01 note).
body holds the courtyard outline points (else pad corners), absolute; the placer pulls the body point nearest to the board outline toward the outline.
Definition at line 84 of file engine.hpp.
| std::vector<Point> tmk::crules::EdgeAttraction::body |
Definition at line 86 of file engine.hpp.
| int tmk::crules::EdgeAttraction::footprint = -1 |
Definition at line 85 of file engine.hpp.
| double tmk::crules::EdgeAttraction::max_mm = 0 |
the rule's limit (report only)
Definition at line 88 of file engine.hpp.
| std::string tmk::crules::EdgeAttraction::name |
"CONN-01", "~CONN-01 J3 edge"
Definition at line 89 of file engine.hpp.
| std::string tmk::crules::EdgeAttraction::rule |
Definition at line 89 of file engine.hpp.
| int tmk::crules::EdgeAttraction::weight = 20 |
2 x signal weight, like ESD-01 (doc 15 §5.2)
Definition at line 87 of file engine.hpp.