2022-01-15 01:12:02 -07:00
|
|
|
# KARARRR
|
2022-01-15 00:27:22 -07:00
|
|
|
Kicad AutoRouter, ARRR `<make pirate sound>`.
|
|
|
|
|
|
|
|
|
|
|
|
An autorouter kludge for KiCad 6 and Python 3.
|
|
|
|
|
|
|
|
|
2022-01-15 01:24:57 -07:00
|
|
|
![kararrr screenshot](examples/kararrr-pcb.png)
|
|
|
|
|
|
|
|
|
2022-01-15 00:36:12 -07:00
|
|
|
# Installation
|
|
|
|
HOWTO install.
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
git clone https://spacecruft.org/spacecruft/kararrr
|
|
|
|
cd kararrr
|
|
|
|
|
|
|
|
# Install python deps as you like, such as:
|
2022-01-15 00:57:19 -07:00
|
|
|
pip3 install --user --upgrade -r requirements.txt
|
2022-01-15 00:36:12 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
# Usage
|
|
|
|
HOWTO use.
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
# Process netlist with live view.
|
2022-01-15 00:41:40 -07:00
|
|
|
python3 pcb.py --v 1 examples/netlist.pcb | python3 view.py
|
2022-01-15 00:36:12 -07:00
|
|
|
|
|
|
|
# Process netlist, redirect to "anim" file.
|
2022-01-15 00:41:40 -07:00
|
|
|
python3 pcb.py --v 1 examples/netlist.pcb > anim
|
2022-01-15 00:36:12 -07:00
|
|
|
|
|
|
|
# View "anim" file using aggDraw.
|
|
|
|
python3 view.py anim
|
|
|
|
|
|
|
|
# View "anim" file using matplotlib
|
|
|
|
python3 view_mpl.py anim
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2022-01-15 00:27:22 -07:00
|
|
|
# Upstream
|
|
|
|
Based on Python-PCB for Python2 by Chris Hinsley,
|
|
|
|
released under the GPLv2 license, source code available here:
|
|
|
|
|
|
|
|
* https://github.com/vygr/Python-PCB
|
|
|
|
|
|
|
|
|
|
|
|
# Disclaimer
|
|
|
|
Alpha software, not for use.
|
|
|
|
|
2022-01-15 01:20:20 -07:00
|
|
|
This somewhat works standalone now in Python3, but not with KiCad.
|
|
|
|
|
2022-01-15 00:27:22 -07:00
|
|
|
|
|
|
|
# Copyright
|
|
|
|
GPLv2 license.
|
|
|
|
|
|
|
|
Copyright (C) 2014, 2015, Chris Hinsley
|
|
|
|
|
|
|
|
Copyright (C) 2022, Jeff Moe
|
|
|
|
|