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 4 months ago
cpp-dsn2pcb cpp dsn/pcb output formatting is different than the py one want... TODO 4 months ago
docs mv docs and examples 4 months ago
examples kararrr screenshot 4 months ago
go-dsn2pcb mv go files to go subdir 4 months ago
.gitignore ignore tmp/ 4 months ago
LICENSE GPLv2 4 months ago
README.md Linky other upstream repos 4 months ago
layer.py PEP 8 intentation 4 months ago
mymath.py PEP 8 intentation 4 months ago
pcb.py PEP 8 intentation 4 months ago
requirements.txt dat not req! 4 months ago
router.py PEP 8 intentation 4 months ago
view.py PEP 8 intentation 4 months ago
view_mpl.py PEP 8 intentation 4 months 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