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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a66642bf6b0bbd7dae97451934d83c129284f0f63524d6b673f4caa730775308 |
|
MD5 | 8c0ece528a088767e185acbe263db750 |
|
BLAKE2b-256 | 4bab0e9c045960a568796c9a1cc031b780e14de27c78a997ac08e90ee993dc3e |