kiutils
kiutils copied to clipboard
Creating a design rule only for inner/outer layers is not possible
When I create a custom Rule in KiCad, I can use the syntax
(rule "HV to HV (IL)"
(layer inner)
(constraint clearance (min 2.4mm))
(condition "..."))
to limit its scope to all inner layers.
This is not possible with kiutils, because the layers member is a string, which gets parsed to
(rule "HV to HV (IL)"
(layer "inner")
(constraint clearance (min 2.4mm))
(condition "..."))
with the word inner in appostrophs, which is not understood by kicad.