All Projects → Bouni → kicad-jlcpcb-tools

Bouni / kicad-jlcpcb-tools

Licence: MIT license
Plugin to generate BOM + CPL files for JLCPCB, assigning LCSC part numbers directly from the plugin, query the JLCPCB parts database, lookup datasheets and much more.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to kicad-jlcpcb-tools

pykicad
Library for working with KiCAD file formats
Stars: ✭ 46 (-91.43%)
Mutual labels:  eda, kicad
KiCad sharp
A C# library wrapping some of KiCad's functionallity, allowing for some features not in the software and programmatic circuit creation
Stars: ✭ 28 (-94.79%)
Mutual labels:  eda, kicad
Pinion
Generate interactive and nice-looking diagrams for your PCBs!
Stars: ✭ 264 (-50.84%)
Mutual labels:  eda, kicad
Interactivehtmlbom
Interactive HTML BOM generation plugin for KiCad
Stars: ✭ 1,924 (+258.29%)
Mutual labels:  kicad, action-plugin
Skidl
SKiDL is a module that extends Python with the ability to design electronic circuits.
Stars: ✭ 614 (+14.34%)
Mutual labels:  eda, kicad
svg2mod
Convert Inkscape SVG drawings to KiCad footprint modules
Stars: ✭ 72 (-86.59%)
Mutual labels:  kicad
OpenROAD-flow-scripts
OpenROAD's scripts implementing an RTL-to-GDS Flow. Documentation at https://openroad-flow-scripts.readthedocs.io/en/latest/
Stars: ✭ 124 (-76.91%)
Mutual labels:  eda
NLPDataAugmentation
Chinese NLP Data Augmentation, BERT Contextual Augmentation
Stars: ✭ 94 (-82.5%)
Mutual labels:  eda
27c160-tl866-adapter
Adapter to program EPROMs with more than 40 Pins on the TL866 universal programmer.
Stars: ✭ 81 (-84.92%)
Mutual labels:  kicad
EnvOpenPico
An open source RP2040 MCU Board Family
Stars: ✭ 87 (-83.8%)
Mutual labels:  kicad
kicad-website
This is the official website source for KiCad [moved to https://gitlab.com/kicad]
Stars: ✭ 60 (-88.83%)
Mutual labels:  kicad
Pi1541io
Raspberry Pi extension board for the PI1541 project.
Stars: ✭ 69 (-87.15%)
Mutual labels:  kicad
pcad2kicad
Convert Altium Designer and PCAD library to KiCad
Stars: ✭ 94 (-82.5%)
Mutual labels:  kicad
kicad-3dmodels
Home made open source STEP and VRML 3D Models for Kicad
Stars: ✭ 42 (-92.18%)
Mutual labels:  kicad
omega-dock-new
A dock for Onion omega, omega2 and omega2+. It features: Microusb for power supply, USB host, Ethernet
Stars: ✭ 36 (-93.3%)
Mutual labels:  kicad
rf bridge
RF (433Mhz) to MQTT Bridge - with hardware
Stars: ✭ 38 (-92.92%)
Mutual labels:  kicad
Dockerize-EDA
[WIP] Dockerize Synopsys/Cadence EDA tools
Stars: ✭ 57 (-89.39%)
Mutual labels:  eda
Model-M-Type-C
A modern yet simple Model M replacement controller
Stars: ✭ 67 (-87.52%)
Mutual labels:  kicad
musicboy
A high-quality audio playback cartridge for Nintendo® Game Boy® and Game Boy Color®.
Stars: ✭ 25 (-95.34%)
Mutual labels:  kicad
C64-Modulator-Replacement
A simple modulator replacement for Commodore 64s with "longboards", complements my Lumafix version as well adding an audio connector for second SID.
Stars: ✭ 31 (-94.23%)
Mutual labels:  kicad

The main window KiCAD JLCPCB tools

Plugin to generate all files necessary for JLCPCB board fabrication and assembly

  • Gerber files
  • Excellon files
  • BOM file
  • CPL file

Furthermore it lets you search the JLCPCB parts database and assign parts directly to the footprints which result in them being put into the BOM file.

The main window

The parts library window

The parts details dialog

Warning 🔥

This plugin is not yet very well tested and only works for KiCAD 6.0!

I try to keep it working with 6.99 nightly builds but there are massive API changes on the horizon and I'm not sure if I can keep up with them.

This is under a lot of developments, so consider this README out of date all the time 😏

If you find any sort of problems, please create an issue so that I can hopefully fix it!

Installation 💾

KiCAD PCM

Add my custom repo to the Plugin and Content Manager, the URL is https://raw.githubusercontent.com/Bouni/bouni-kicad-repository/main/repository.json

image

From there you can install the plugin via the GUI.

Git

Simply clone this repo into your scripting/plugins folder, on Windows thats C:\users\<username>\Documents\kicad\6.0\scripting\plugins\ on linux that would be /home/<username>/.local/share/kicad/6.0/scripting/plugins.

Flatpack ⚠️

The Flatpak installation of KiCAD currently dows not ship with pip and requests installed. The later is required for the plugin to work. In order to get it working you can run the following 3 commands:

  1. flatpak run --command=sh org.kicad.KiCad
  2. python -m ensurepip --upgrade
  3. /var/data/python/bin/pip3 install requests

See issue #94 for more info.

Usage 🥳

To access the plugin choose Tools->External Plugins->JLCPCB Tools from the PCB Editor menus

Checkout this screencast, it shows quickly how to use this plugin:

KiCAD JLCPCB example

Keyboard shortcuts

Windows can be closed with ctrl-w/ctrl-q/command-w/command-w (OS dependent) and escape. Pressing enter in the keyword text box will start a search.

Toggle BOM / CPL attributes

You can easily toggle the exclude from BOM and exclude from CPL attributes of one or multiple footprints.

Select LCSC parts from the JLCPCB parts database

Select one or multiple footprints, click select part. You can select parts with equal value and footprint using the Select alike button. In the upcoming modal dialog, search for parts, select the one of your choice and click select part. The LCSC number of your selection will then be assigned to the footprints.

Footprint selection

Generate fabrication data

Generate all necessary assembly files for your board with a simple click.

A new directory called jlcpcb is created, and in there, two separate folders are created, gerber and production_files.

In the gerber folder all necessary *.gbr and *.drl files are generated and zipped into the production_files folder, ready for upload to JLCPCB. The zipfile is named GERBER-<projectname>.zip

Also in the production_files folder, two files are generated, BOM-<projectname>.csv and CPL-<projectname>.csv.

Footprints are included into the BOM and CPL files according to their exclude from BOM and exclude from POS attributes.

The fabrication files

Footprint rotation correction

JLCPCB seems to need corrected rotation information. @matthewlai implemented that in his JLCKicadTools and I adopted his work in this plugin as well. You can download Matthews file from GitHub as well als manage your own corrections in the Rotation manager.

Icons

This plugin makes use of a lot of icons from the excellent Material Design Icons

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].