Generate clearance rules for KiCAD by a table.
Project description
This Python program converts a given table of voltage distances into KiCad design rules.
1 Installation
Install KiClearance directly from pyPI:
pip install kiclearance
2 Usage
Create a table (clearance.ods/xls/csv) in your KiCad project directory with voltage clearances defined by your requirements (e.g. standards). Use this template as a guide: clearance.ods.
Add the net classes to each connection in the circuit diagram.
Add the same net classes in the net classes of the PCB editor: KiCad PCB Editor: File -> Board Setup -> Design Rules -> Net classes
Navigate to the project folder with the KiCad project and the clearance.ods/.xls/.csv file. Open a terminal and execute :
python -m kiclearance
Now a file yourprojectname.kicad_dru is generated, which contains the rule sets.
Open your Kicad project, the rule sets are now stored and you can start the routing.
3 Example
A complete example can be found here.
4 Documentation
Find the documentation here.
5 Troubleshooting
This program has so far been tested only on linux.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for kiclearance-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ed8f73df3ca3d861a5132ac326a098ca3c40186a94df35b5ea2429785ccd30e |
|
MD5 | 2a0d142ea281dc9bbf32eee472ab5335 |
|
BLAKE2b-256 | ee6f653ca4e05d7dead2a7138bce3f8b6f58b5066856537865d7e61c6d7add60 |