mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2024-11-22 05:55:03 +00:00
db072a524c
- Moves functionality to FOOTPRINT class from BOARD_ITEM - Renames DRC property from ComponentClass to Component_Class - Adds DRC checks QA for A.Component_Class and a.hasComponentClass('x')
26 lines
703 B
Plaintext
26 lines
703 B
Plaintext
(version 1)
|
|
(rule Rule1
|
|
(condition "A.intersectsArea('AREA1') && A.Type == 'Footprint'")
|
|
(constraint assertion "A.Component_Class == 'CLASS1'")
|
|
)
|
|
|
|
(rule Rule2
|
|
(condition "A.intersectsArea('AREA3') && A.Type == 'Footprint'")
|
|
(constraint assertion "A.Component_Class != 'CLASS1'")
|
|
)
|
|
|
|
(rule Rule3
|
|
(condition "A.intersectsArea('AREA2') && A.Type == 'Footprint'")
|
|
(constraint assertion "A.Component_Class == 'CLASS2,CLASS3'")
|
|
)
|
|
|
|
(rule Rule4
|
|
(condition "A.intersectsArea('AREA4') && A.Type == 'Footprint'")
|
|
(constraint assertion "A.hasComponentClass('CLASS3')")
|
|
)
|
|
|
|
(rule Rule5
|
|
(condition "A.intersectsArea('AREA4') && A.Type == 'Footprint'")
|
|
(constraint assertion "A.hasComponentClass('CLASS4')")
|
|
)
|