Keep In Rules

Hi I’m using KiCAD 9.0.0 and was wondering if there are any Keep In rules? I found the Keep Out but didn’t see anything for Keep In. In allegro I’d define this rule to be the board size minus about 10mils to prevent routing and placement too close to the edge and getting ripped taces/pad during board fabrication.

There is no such thing, at least not to my knowledge. But for your specific requirement there is a setting in the board setup:

kicad_YO3RdjDCpk

Thank you, this just what I was asking for! It is a global constraint which will work for my needs but I hope KiCAD does get a Keep In rule at some point. It really works nicely as a complement to the Keep Out rule in my opinion. Like to tool so far and community is great!

I wouldn’t mind a keep smoke in rule. :rofl:

I know, don’t reverse the polarity of power and parts. :grin:

You can open a feature request (aka wishlist item) in the bug tracker and see how it goes
Issues · KiCad / KiCad Source Code / kicad · GitLab

It’s hardly useful to have something like checkboxes for “Keep in footprints, Keep in tracks” etc. for a rule area. But the idea could be useful for custom rules. It could be possible to write a condition under which something must not be outside of a rule area. For example, the board could have different areas for different hierarchical sheets, or certain net could be completely inside some area.