Introducing KiClearance to auto-generate clearance rules from a simple table

Hi all,

to overcome the manual rule-generation for clearance, we have made a small Python tool to auto-generate these rules from a simple human-readable table. May it is useful for your work.

10 Likes

This is great! Just testing it out on a flyback.

Easy to build the table (just like the eagle one but with the benefit of using a proper spreadsheet for manipulation). Easy to run and generates outer clearances (based on the table) and inner (half the table values).

My only complaints are nothing to do with the script. It would be nice if Kicad picked up the net class directives to populate the list of net classes instead of having to manually add them. I may add that as a wishlist bug on gitlab at some point.

Good work and thank you for sharing!