Kicad AutoRouter, ARRR. An autorouter kludge for KiCad 6 and Python 3. https://spacecruft.org/spacecruft/kararrr
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
jebba 8419df9307
cpp dsn/pcb output formatting is different than the py one want... TODO
1 year ago
cpp-dsn2pcb cpp dsn/pcb output formatting is different than the py one want... TODO 1 year ago
docs mv docs and examples 1 year ago
examples kararrr screenshot 1 year ago
go-dsn2pcb mv go files to go subdir 1 year ago
.gitignore ignore tmp/ 1 year ago
LICENSE GPLv2 1 year ago
README.md Linky other upstream repos 1 year ago
layer.py PEP 8 intentation 1 year ago
mymath.py PEP 8 intentation 1 year ago
pcb.py PEP 8 intentation 1 year ago
requirements.txt dat not req! 1 year ago
router.py PEP 8 intentation 1 year ago
view.py PEP 8 intentation 1 year ago
view_mpl.py PEP 8 intentation 1 year ago

README.md

KARARRR

Kicad AutoRouter, ARRR <make pirate sound>.

An autorouter kludge for KiCad 6 and Python 3.

kararrr screenshot

Installation

HOWTO install.

git clone https://spacecruft.org/spacecruft/kararrr
cd kararrr

# Install distro Python Pip, such as on Debian stable (Bullseye/11);
apt update
apt install python3-pip

# Install python deps as you like, such as:
pip3 install --user --upgrade -r requirements.txt

Usage

HOWTO use.

# Process netlist with live view.
./pcb.py --v 1 examples/netlist.pcb | ./view.py

# Process netlist, redirect to "anim" file.
./pcb.py --v 1 examples/netlist.pcb > anim

# View "anim" file using aggDraw.
./view.py anim

# View "anim" file using matplotlib
./view_mpl.py anim

Upstream

Based on Python-PCB for Python2 by Chris Hinsley, released under the GPLv2 license, source code available here:

Other bits from other repos for reading .dsn are from here:

Disclaimer

Alpha software, not for use.

This somewhat works standalone now in Python3, but not with KiCad.

Copyright

GPLv2 license.

Copyright (C) 2014, 2015, Chris Hinsley

Copyright (C) 2022, Jeff Moe