Skip to main content

Sketching interface for macking function printed circuit boards

Project description

Circuit Painter

Circuit painter is a creative coding tool for making functional printed circuit boards.

Inspired by the simplifed drawing language of Processing, this tool provides an environment for drawing basic geometric shapes such as lines, arcs, and polygons onto a PCB. The tool maintains a drawing 'context' that applies a translation and rotation matrix to all calls, making it simple to replicate circuit features at differnt points across a circuit board. Functional PCB components such as part footprints can also be placed, and connected together logically using 'nets'.

Circuit painter works as a front end / wrapper for KiCad's pcbnew.

Installation

Release versions are available on PyPi:

pip install circuitpainter

In addition to the python library, you'll also need KiCad 7.x. The library is tested on Ubuntu 22.04, with KiCad 7.0.6 installed from theofficial package (https://www.kicad.org/download/), and Python 3.10.7 (the Ubuntu default).

It should work with any Linux distro, and might work in Mac/Windows if the pcbnew library is set up correctly in Python. It should also work with any recent version of Python 3, but will probably only work with KiCad 7.x as their API is not stable.

Example usage

See the examples directory.

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

circuitpainter-0.0.3.tar.gz (12.1 kB view hashes)

Uploaded Source

Built Distribution

circuitpainter-0.0.3-py2.py3-none-any.whl (10.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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