kiutils icon indicating copy to clipboard operation
kiutils copied to clipboard

Creating a design rule only for inner/outer layers is not possible

Open chfriedrich opened this issue 8 months ago • 1 comments

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.

chfriedrich avatar Jun 07 '24 09:06 chfriedrich