Skip to main content

Automation for KiCAD boards

Project description

KiKit - Automation for KiCAD

KiKit is a Python library and CLI tool to automate several tasks in a standard KiCAD workflow like:

KiKit Promo

Do You Enjoy KiKit or Does It Save You Time?

ko-fi

Installation

KiKit is available as a PyPi package, therefore, you can install it via pip:

pip3 install kikit

If you would like to test the upstream version (which can have more features implemented but is not guaranteed to be fully tested), you can install it via:

pip3 install git+https://github.com/yaqwsx/KiKit@master

Note that if you have a stable version installed, you need to add --force to upgrade it to upstream.

Note that to use KiCAD GUI plugins, you have to enable them - see the installation guide for more details.

If you would like to use KiKit on Windows or MacOS, see the installation guide.

Why Should I Use It?

Everything KiKit does, can also be done via Pcbnew in KiCAD. However, you have to do it manually. One of the common scenarios is the creation of panels. Most of the tutorials on the internet guide you to use the "append board" functionality of Pcbnew. However, this approach is labour-intensive, error-prone and whenever, you change the board, you have to do it again.

With KiKit you just call a CLI command if you have a simple layout (e.g., a grid) or write few Python instructions like "place board here", "add bridge here", "separate boards via mouse bites/v-cuts" and you are done. The process is repeatable and actually much simpler than hand-drawing the panels. KiKit also allows you to easily export all the Gerbers in a single step.

You can then write a Makefile and simply call make to get all your manufacturing data and board presentation pages.

See BatteryPack as an example usage of KiKit. Also see an example presentation page generated by KiKit.

Feature List

How To Use It?

Read the CLI documentation and the panelize documentation. Also don't miss the examples. If you are interested in generating solder paste stencils, see Stencil documentation

KiKit Is Broken or Does Not Work as Expected

Please, first check FAQ. If you have not found answer for your problem there, feel free to open an issue on GitHub.

If you would like to have a feature in KiKit that is currently not on a roadmap, or if you need to prepare custom panelization script (e.g., multi-design panels, panels with specific arrangement), you can consider hiring me to do the job. Just reach out to me via e-mail and we can discuss further details.

How To Use It CI?

To use KiKit in CI (e.g., Travis) you can use prepared Docker image yaqwsx/kikit. Also see example .travis.yml.

Project details


Release history Release notifications | RSS feed

This version

0.7

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

KiKit-0.7.tar.gz (62.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

KiKit-0.7-py3-none-any.whl (56.5 kB view details)

Uploaded Python 3

File details

Details for the file KiKit-0.7.tar.gz.

File metadata

  • Download URL: KiKit-0.7.tar.gz
  • Upload date:
  • Size: 62.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5

File hashes

Hashes for KiKit-0.7.tar.gz
Algorithm Hash digest
SHA256 e3b61ca640ecc8909679ac38917ed14d15c5b138cb77997e1127ba9633015cbc
MD5 d608701e4b24f845ade05ef048ba4edb
BLAKE2b-256 99839b619253a063a4ebd8198eccc3c675603ac353d6be282dd0865ecbddfa21

See more details on using hashes here.

File details

Details for the file KiKit-0.7-py3-none-any.whl.

File metadata

  • Download URL: KiKit-0.7-py3-none-any.whl
  • Upload date:
  • Size: 56.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5

File hashes

Hashes for KiKit-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8feeca879b0adae0f7fd0314d58f28e57e24d6e2e97342e466309292196d5a5e
MD5 3b9acd44b3e31e4de745d876a4d595e6
BLAKE2b-256 c3a2a4c34b6e26532e4d0c5043839f5aba99ba3ec16e77c94576f159a36c3480

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page