Skip to content

EAGLE cad helpers for JLCPCB production and assembly services

License

Notifications You must be signed in to change notification settings

oxullo/jlcpcb-eagle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jlcpcb-eagle

EAGLE cad helpers for JLCPCB (https://jlcpcb.com) production and assembly services

General info

Rules and scripts have been tested under EAGLE cad 9.5.

They're provided AS IS, with no warranty. Any feedback is greatly appreciated and can be provided via issue tickets.

This repo is not endorsed by JLCPCB.

Installation

Copy each file in their respective folders (USER_HOME/Documents/EAGLE/).

CAM jobs

  • cam/jlcpcb-2layers.cam: 2-layers version
  • cam/jlcpcb-4layers.cam: 4-layers version

The jobs follow the naming guidelines defined here: https://support.jlcpcb.com/article/29-suggested-naming-patterns They also include tCream/bCream solderpaste layers that could be used for the stencil service.

Design rules

  • design rules/jlcpcb-2layers.dru: 2-layers version, 35u copper, 1.6mm board thickness
  • design rules/jlcpcb-4layers.dru: 4-layers version, 35u/17.5u copper, 1.6mm board thickness

Mainly based on EAGLE's standard design rules, it adds the declared JLCPCB's capabilities listed here: https://jlcpcb.com/capabilities/Capabilities

Note: annular ring for pads aren't minimal, in order to allow proper solderability of TH components

ULPs

  • ulps/jlcpcb_smta_exporter.ulp: BOM (bill of materials) / CPL (pick&place) exporter

The smta exporter ULP can be used to quicken the process of creating the required files for the SMT assembly service.

Observe the following:

  1. it must be executed from the board editor
  2. it asks for a directory where to export the two files
  3. the two resulting files will be named <boardname>_bom.csv and <boardname>_cpl.csv
  4. components rotations are sketchy and must be visually checked on the online gerber viewer once uploaded the files

The ULP can extract LCSC part ordering numbers from the packages attributes. The attribute must be named LCSC_PART or LCSC and it should contain the order code found in the parts library https://jlcpcb.com/client/index.html#/parts (eg: C25804).

The ULP can also manually rotate the angle in the CPL output file. The attribute must be named JLC_ROTATION. For example, if a part's angle in set to 90 and it's attribute JLC_ROTATION is set to 180, the angle in the final CPL file will be set to 270.

Top and/or bottom assembly can be chosen directly during the ordering process, JLCPCB will use the CPL file to determine which side the designator has been placed on.

In case a part should not be exported into the BOM/CPL, add an attribute called "DNP" (the value is not relevant and can be an annotation for the reason for the exclusion). The POPULATE flag is also taken into consideration for filtering out parts that shouldn't be part of a specific variant.

About

EAGLE cad helpers for JLCPCB production and assembly services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •