Hi, I want to do a rule for width of controlled impedance track, where on the outer layers I need 0,25mm and inner layers 0,1mm.
How does work the priority order of the custom rules? I’m using Kicad 9, and wrote like this below but it’s not working.
I realized that I need to always specify the Default Netclasse together.
I tried also on the 60R_inner below to add && A.existsOnLayer(‘In2.Cu’) on the first condition but it also did not change the width.
This should only be true if you want the rule to apply to nets in both netclass 60R and Default. If all the nets are in both netclasses, you can just specify 60R.
No matter the order I write the rule, it’s applying the outer width first and keeping it.
Could be that this point of priority was forgotten? Should I open a ticket on git for it?
Does DRC catch that incorrect width when run? Also, while routing, do you have the little button in the top left selected for “continue track width” (not sure the exact name, away from KiCad at the moment).
Hi, you solve the mystery.
I did not check this button here:
Now is working for outer layers one width, and inner layers other.
The order you write does not matter on my case, but I would prefer to have a priority order like Altium.