Skip to main content

PCB holder and testing jig generator

Project description

PCB Jigify!

Generate holding and testing jigs for your PCBs straight from your PCB files!

Additional features:

  • embed magnets in the jigs
  • include registration features
  • tight KiCad integration

Installation

Using pipx (installation instructions) is recommended:

pipx install pcb-jigify

Alternatively, if the above doesn't work for you (PyPi doesn't allow GitHub dependencies, so our CadQuery version is quite outdated), you can try installing directly from GitHub:

pipx install git+https://github.com/mmalecki/pcb-jigify.git

Usage

Holding jigs

This type of jig holds the PCB in place, for example for solder paste application.

KiCad

PCB Jigify integrates tightly with KiCad, but can also be used with other ECADs that are able to export DXF files.

Generate the jig

You can generate the most basic of jigs by passing in an input board, and output model file:

pcb-jigify holding --output holder.step pcb.kicad_pcb
Optional: place registration features

If you have any registration features (for example, pins, such as used in the eC-Registration system), you can generate a jig with them included.

For example, to use a mounting hole as a registration feature, edit the mounting hole footprint to include the paste and one of the user layers. We'll be using the User.Eco1 layer:

Default mounting hole KiCad footprint with both paste and User.Eco1 layers enabled.

In manufacturing, this will cause the stencil to have the mounting hole etched through (because the paste layer indicates a stencil opening), the PCB drilled (as indicated by the drill point), and the holder to have a hole for press-fitting it (due to our very own User.Eco1 indicator).

Then, when generating the jig, pass the same registration layer, and how deep the registration features should be cut into the jig, for example"

pcb-jigify holding \
    --registration-layer User.Eco1 --registration-depth 2 \
    --output holder.step \
    pcb.kicad_pcb

to make a 2 mm cut into the jig using contents of User.Eco1 layer.

Note: the stencil, drilling and copper etching processes are separate parts of the manufacturing process. The quality of alignment of drilled holes in the PCB, etches in the stencil and the copper layer depends sorely on your manufacturer. In other words, know your limitations using this method.

DXF

DXF is a CAD file format many ECAD applications are able to output to.

Generate the jig

To generate a jig from DXF files, pass in the edge cuts file, and optionally the registration layer, for example:

pcb-jigify holding \
    [--registration-layer pcb-User_Eco1.dxf --registration-depth 2] \
    --output holder.step \
    pcb-Edge_Cuts.dxf

Testing jigs

Testing jigs utilizing pogo pins can be generated in a similar fashion.

pcb-jigify testing \
    [--registration-layer User.Eco1 --registration-depth 2] \
    --testing-layer User.Eco2 --test-probe-diameter 1 --test-probe-length 1 \
    --output tester.step \
    pcb.kicad_pcb

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

pcb_jigify-0.1.0.post2.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

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

pcb_jigify-0.1.0.post2-py2.py3-none-any.whl (7.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pcb_jigify-0.1.0.post2.tar.gz.

File metadata

  • Download URL: pcb_jigify-0.1.0.post2.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.8 Linux/6.11.10-amd64

File hashes

Hashes for pcb_jigify-0.1.0.post2.tar.gz
Algorithm Hash digest
SHA256 e412fe4df0e162e07b02a1f42ce950da5d3c531c1ce7772f038f5eca4b2105d3
MD5 e5f9fd17535c5bd8fbf4cce28323fe71
BLAKE2b-256 e6e33cc5aba72281c34b6e6643af633758011c29987f85562aaec2206f32f862

See more details on using hashes here.

File details

Details for the file pcb_jigify-0.1.0.post2-py2.py3-none-any.whl.

File metadata

  • Download URL: pcb_jigify-0.1.0.post2-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.8 Linux/6.11.10-amd64

File hashes

Hashes for pcb_jigify-0.1.0.post2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 247f032b0cca2196ef3a8d7cf59016c56c55914f9e3e5d19310d1590945d9af6
MD5 59d258dd5ecc0fa09fbdbcfcf6865ecb
BLAKE2b-256 2558eccbde1aa704e2f4d577c684b43466bc39d56d28d48beb5dafec54c89ab1

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