Giter Club home page Giter Club logo

jlc-plugin-for-kicad's Introduction

JLC PCB Plug-in for KiCad

JLC PCB Plug-in for KiCad

Sponsor

Features

  1. Generates gerber files in correct format for production
  2. Generates BOM file in correct format for production
  3. Generates Pick and Place file in correct format for assembly
  4. Generates IPC netlist file

Installation

Official Installation

Fabrication Toolkit is distributed with the official releases of KiCad 6+. Open the "Plugin and Content Manager" from the KiCad main menu and install the "Fabrication Toolkit" plugin from the selection list.

Manual installation

Download the latest release ZIP file. Open the "Plugin and Content Manager" from the KiCads main window and install the ZIP file via "Install from File".

Usage

Click on the Fabrication Toolkit Logo button on the top tool box inside KiCad pcb editor (pcbnew).

Ensure your board is syncronized before invoking this addon [F8].

The User_1 layer in internally defined as a V-Cuts layer, please avoid using it for anything else. (since v3.0.0).

Options

① Include Component Part Number in Production Files

Add an 'LCSC Part #'* field with the LCSC component part number to the symbol's fields property.

Primary Fields*:

'LCSC Part #' 'JLCPCB Part #'

The fields will be query in the order denoted above.

Fallback Fields*:

'JLC Part' 'LCSC Part' 'LCSC' 'JLC' 'MPN' 'Mpn' 'mpn'

The fields will be query in the order denoted above.


② Ignore Footprint in Production Files

Select 'Exclude from board' or 'Exclude from BOM' in the symbol's attributes property in order to ignore the footprint from the relevant file.

Select 'Exclude from position files' or 'Exclude from BOM' in the footprint's fabrication attributes property in order to ignore the footprint from the relevant file.


③ Offset Component Rotation

The rotation of components in KiCad Footprints does not always match the orientation in the JLC library because KiCad and JLC PCB used different variation of the same standard. Most of the rotations may be corrected by the rotations.cf definitions. To the exception cases: add an 'JLCPCB Rotation Offset' field - with positive values indicating counter-clockwise orientation offset in degrees.

If the JLC preview shows a footprint like this, enter a rotation offset of -90 to rotate pin 1 to the lower right corner.

As the rotation offset is entered in the Schematic Editor, make sure to update your PCB with the changes made to the schematic before generating a new set of production files, otherwise your changes won't be reflected.

Primary Fields*:

'JLCPCB Rotation Offset'

The fields will be queried in the order denoted above.

Fallback Fields*:

'JlcRotOffset' 'JLCRotOffset'

The fields will be queried in the order denoted above.


④ Offset Component Position

The position of components in KiCad Footprints does not always match the orientation in the JLC library because KiCad and JLCPB used different variation of the same standard. To the exception cases: add an 'JLCPCB Position Offset' field with an comma separated x,y position offset to correct it.

Use following table to quickly find out to which coordinate enter the correction based on JLC arrows clicks - depending on footprint rotation in Kicad PCB Editor status bar:

Kicad footprint deg x y
0deg, Front right arrow up arrow
0deg, Back left arrow down arrow
180deg, Front left arrow down arrow
180deg, Back right arrow up arrow
90deg, Front or Back up arrow left arrow
-90deg, Front or Back down arrow right arrow

For custom angles it's best to place also a temporary straight symbol to perform alignment. Single arrow press in JLC is about 0.07mm shift (8 clicks is about 0.5mm).

As the position offset is entered in the Schematic Editor, make sure to update your PCB with the changes made to the schematic before generating a new set of production files, otherwise your changes won't be reflected.

Primary Fields*:

'JLCPCB Position Offset'

The fields will be queried in the order denoted above.

Fallback Fields*:

'JlcPosOffset' 'JLCPosOffset'

The fields will be queried in the order denoted above.

⑤ Override Component Layer

Some footprints may have their components defined on the opposite layer to there actual footprints. In these instances you can override mount side by using this field.

Values can be top, bottom, t or b.

Primary Fields*:

    | 'JLCPCB Layer Override' |
    | --- |

The fields will be queried in the order denoted above.

Fallback Fields*:

    | 'JlcLayerOverride' | 'JLCLayerOverride' |
    | --- | --- |

The fields will be queried in the order denoted above.

Author

Benny Megidish

jlc-plugin-for-kicad's People

Contributors

bennymeg avatar fisheiyy avatar dzid26 avatar revk avatar antonxy avatar obaterspok avatar miceuz avatar alexisvl avatar majorarkwolf avatar carlosgs avatar hildogjr avatar 21km43 avatar llamasoft avatar mengstr avatar harbaum avatar mojombo avatar tylercrumpton avatar kiu avatar tobsec avatar

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.