acr jlc
Generate a JLCPCB BOM XLSX and CPL XLSX from one PrjPcb. The command reuses the BOM/PnP config for aliases, sorting, variants, and output naming.
| Property | Value |
|---|---|
| Command | acr jlc (or altium-cruncher jlc) |
| Category | Fabrication & Manufacturing Outputs |
| Config File | bom.config / bom-pnp.jsonc (altium_cruncher.bom.config.a0) |
| Workflow Guide | Fabrication & Outputs: acr jlc |
Usage
acr jlc [-h] [-o OUTPUT] [--config CONFIG] [--write-config [PATH]] [--variant VARIANT] [--all-variants] [--units {mm,mils}] [--position-mode {altium-pick-place,component-origin}] [--exclude-no-bom] [--no-color] [file]Arguments And Options
Positional Arguments
| Argument | Required | Description |
|---|---|---|
file | No | PrjPcb file (optional if PrjPcb in CWD) |
Options
| Flag | Default | Description |
|---|---|---|
-o, --output <OUTPUT> | — | output root directory (default: ./output) |
--config <CONFIG> | — | BOM/PnP JSON/JSONC config (default: ./bom.config if present) |
--write-config <PATH> | — | write a default BOM/PnP config template |
--variant <VARIANT> | — | filter by specific variant name |
--all-variants | False | generate outputs for all variants plus base |
--units <UNITS> | — | coordinate units (JLC CPL requires mm) (choices: mm, mils) |
--position-mode <POSITION_MODE> | — | placement position mode (default: config value or altium-pick-place) (choices: altium-pick-place, component-origin) |
--exclude-no-bom | False | exclude STANDARD_NO_BOM components from CPL generation |
--no-color | False | disable ANSI colors and spinners in console output |
Examples
# Generate JLCPCB BOM + CPL XLSX bundle and inspect missing LCSC parts
acr jlc project.PrjPcb -o out/jlc
# Run with an explicit bom-pnp.jsonc configuration
acr jlc project.PrjPcb --config bom-pnp.jsonc -o out/jlc