@typecad/jlcpcb-export
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

JLCPCB Export

Export all the required files for JLCPCB assembly from a typeCAD project.

It will:

  • run KiCAD's DRC on the PCB
  • check if the git repository is clean
  • create a folder structure based on the typeCAD project version and board named
  • generate drill, position, gerbers, and BOM files formatted for JLCPCB
  • zip the gerbers and drill file

Getting Started

Prerequisites

Installation

Run the following command in your project directory, where your typeCAD package.json file is located:

npm i @typecad/jlcpcb-export

Usage

import { PCB, Schematic } from '@typecad/typecad';
import { jlcpcb_export } from "@typecad/jlcpcb-export";

let typecad = new Schematic('project');
let pcb = new PCB('project');

jlcpcb_export(typecad, pcb);

If the project doesn't pass DRC or the git repository is not clean, the function will throw an error. They can be ignored by calling the function like:

jlcpcb_export(typecad, pcb, true);

Readme

Keywords

none

Package Sidebar

Install

npm i @typecad/jlcpcb-export

Homepage

typecad.net

Weekly Downloads

6

Version

1.0.3

License

none

Unpacked Size

18.7 kB

Total Files

4

Last publish

Collaborators

  • typecad0