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/kicad-to-openpnp.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.post1.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.post1-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.post1.tar.gz.

File metadata

  • Download URL: pcb_jigify-0.1.0.post1.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.post1.tar.gz
Algorithm Hash digest
SHA256 fc547b29cf76a259e94e84df51feb6e44ae496cd990c1b5cc569970f5df5582d
MD5 915902e6323420ad395fd4ca3cd6905e
BLAKE2b-256 f92ff17e74eb242df5593611a11170b55aee1bbbaefd5ac0a98bb23e173311be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pcb_jigify-0.1.0.post1-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.post1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 65f65b4d8c52454b12283a8af923a136714582d20845e6c8e2caa5271fbe3a7d
MD5 6d7a7fdfe19feb6d071e3d1d69ddb915
BLAKE2b-256 0a70518d976efcb979fd3a6666599e3f5d5ab8bdc57c9e44184fc0bd6415a0a0

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