Skip to main content

Utility to produce nice looking drawings of KiCAD boards

Project description

PcbDraw

Convert your KiCAD boards into nice looking 2D drawings suitable for pinout diagrams. Never draw them manually again!

example

This small Python script takes a KiCAD board (.kicad_pcb file) and produces a 2D nice looking drawing of the board as an SVG file. This allows you to quickly and automatically create awesome pinout diagrams for your project. These diagrams are much easier to read than a labeled photo of a physical board or an actual KiCAD design.

You and your users will love them!

PcbDraw also comes with a small utility called Populate which allows you to easily specify & maintain nice looking HTML or Markdown population manuals.

example

Usage

There are two separate guides:

There are also examples of usage in the examples directory.

Running with KiCAD nightly (v5.99)

If you would like to use PcbDraw with KiCAD nightly, you can! Just point environmental variable PYTHON_PATH to the correct path to the nighly module. E.g., on Ubuntu:

PYTHONPATH=/usr/lib/kicad-nightly/lib/python3/dist-packages pcbdraw --help

Contributing

Feel free to submit issues and pull requests!

Future Work

  • make reasonably complete module library
  • produce nicer SVG file structures (make SVG smaller by including each module exactly once, treat ids correctly,...)
  • support value labels on modules

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

PcbDraw-0.8.0.tar.gz (158.9 kB view details)

Uploaded Source

Built Distribution

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

PcbDraw-0.8.0-py3-none-any.whl (696.2 kB view details)

Uploaded Python 3

File details

Details for the file PcbDraw-0.8.0.tar.gz.

File metadata

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

File hashes

Hashes for PcbDraw-0.8.0.tar.gz
Algorithm Hash digest
SHA256 d9213b27ecf78ddd1367c75acc054799d7d1a1d6d73257b67f146f7154d1b8c9
MD5 d85829c41906ebe5e3b9512938d43306
BLAKE2b-256 a830beb78d69f066a7d783771ea929be819d620a123f7d637c3b26ea2862f3aa

See more details on using hashes here.

File details

Details for the file PcbDraw-0.8.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for PcbDraw-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca8374a7542174f23cd878c5f923517cf74b902b52d5ccbfff5f1de75391aa91
MD5 8aa7d59e0877843e3d14f7ed247c64a2
BLAKE2b-256 ac0e9ff1e6fb865f97ded679651b2ecf8c65082e96c1d9381ae00fc6272fbc1a

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