Giter Club home page Giter Club logo

kijlc's Introduction

KiJLC

KiJLC logo

An inofficial plugin for eeschema and pcbnew to export BOM and CPL files compliant with JLCSMT. We're not affiliated with JLC. Please double check your data as there might still be bugs.

BOM Fields

Right now the BOM plugin expects two fields to be present: "JLC" which should contain the JLCSMT footprint specifier and "LCSC" which should contain the part number from LCSC.

Right now KiCad footprint specifiers are not being converted to JLC ones, but this could be implemented in the future.

Installation

Clone the repo to ~/.kicad/scripting/plugins/KiJLC and it will load the next time pcbnew is opened. Example:

mkdir -p ~/.kicad/scripting/plugins
cd ~/.kicad/scripting/plugins
git clone https://github.com/fullyautomated/KiJLC

For eeschema create a new BOM plugin entry under Tools->Generate Bill of Materials:

BOM Dialog

Command line:

/usr/bin/python3  "~/.kicad/scripting/plugins/KiJLC/bom2jlc.py" "%I" "%O"

Usage

pcbnew

Under Tools->External Plugins->Generate JLCSMT Placement Files or via the button in the toolbar.

eeschema

In the same configuration dialog as in Installation, just press generate and it will produce two BOM CSV files.

kijlc's People

Contributors

tachiniererin avatar zoe1337 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kijlc's Issues

Layer name from GetLayerName in KiCad 5.1.8

Hi,

This set of code is neat and compact. I just tested it in KiCad 5.1.8 in Ubuntu 18.04 and find layer name has been changed.

            if layer == "top_copper":
                layer = "top"
                topw.writerow([ref, mid_x, mid_y, layer, rot])
            elif layer == "bottom_copper":
                layer = "bottom"
                botw.writerow([ref, mid_x, mid_y, layer, rot])

--
Best Regards,
Atommann
Layout Engineer from JLCPCB

WIndows

Is this supposed to work in Windows?

I've cloned it to both the following directories and neither work.

%KICAD_INSTALL_PATH%/share/kicad/scripting/plugins
%APPDATA%/Roaming/kicad/scripting/plugins

Not compatible with Kicad 5,1,10 on MacOS BigSur

Hi

Tried this plugin on MacOS Big Sur.
It doesn't load : I tried to print full stack on python console, it seems that the default python version on MacOS BigSur is still Python 2.7.16, and the script uses some Python 3 syntax.

Can this script be fixed to run on Python 2.7, or can you provide some guidelines to make Kicad run with python 3 ?

compatibility with KiCad 6.0.0

In version 6.0.0 if you try using the plugin following error is occuring:

  File "xxx/KiJLC/bom2jlc.py", line 45, in <module>
    parse_pcb(netlist)
  File "xxx/KiJLC/bom2jlc.py", line 16, in parse_pcb
    modules = board.GetModules()
AttributeError: 'BOARD' object has no attribute 'GetModules'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.