kicad monkey v2026.11.30
On This Page (4)

kcr Full Command Reference

One dedicated page per core kcr command, generated directly from live kicad_cruncher._cli.build_parser() definitions and paired with hand-authored configuration, precedence, and conflict-resolution guides. Both kicad-cruncher and kcr invoke the same Python CLI; commands marked Python + Rust also ship in the standalone native Rust k3 binary (see the Native Rust CLI (k3) Parity Guide).

Fabrication & Manufacturing Outputs

Analytic Gerber X2/X1, Excellon NC drill, IPC-2581B, virtual documentation baking, BOM, PnP, JLCPCB, and 3D alignment STEP.

CommandAliasesRuntimeConfigSummary
kcr fabgerbz, ipc2581Python + Rustfab.jsoncEmit Gerber X2/X1, Excellon NC drill, IPC-2581B, PnP, BOM, Micro-STEP, and 17 virtual fab layers.
kcr vdocvirtual-docPython + Rust<stem>.vdoc.jsonc or vdoc.jsoncClean documentation layers and bake virtual layers into boards, footprints, or .pretty libraries.
kcr bom—Python + Rust./bom.config in the current working directoryGenerate normalized raw, grouped, and JLCPCB Bills of Materials (CSV, JSON, XLSX) with variant support.
kcr pnp—Python + RustOptional ./bom.config in the current working directoryExport variant-aware Pick-and-Place centroid tables (CSV, JSON, JLC CPL) in mm or mils.
kcr jlc—Python + RustOptional ./bom.config in the current working directoryGenerate ready-to-upload JLCPCB BOM and CPL workbooks in millimetres.
kcr pcb-layer-step—Python + Rust<input_dir>/pcb-layer-step.jsoncExport pure-Python ISO 10303-21 Micro-STEP copper and outline alignment models.

PCB Visualization & Design Review

Configured PCB SVG views, shaded Toon renders, and agent-first design review bundles (available in both Python kcr and native Rust k3).

CommandAliasesRuntimeConfigSummary
kcr pcb-svg—Python + Rust<stem>.pcb.svg.config or pcb.svg.configRender configured multi-layer assembly, diode, and virtual-layer PCB SVGs.
kcr toon—Python + Rust<board_dir>/toon.configRender shaded 3D-illustrated PCB Toon SVGs with soldermask themes and optional assembly labels.
kcr designdesign-review, drPython + Rust—Generate deterministic design-review bundles (schematic/PCB SVGs, compiled graph, netlist, manifest).

Projects, Libraries & Assets

Project scaffolding, health checks, local library relinking, asset extraction, 3D model embedding, and PCB cleanup.

CommandAliasesRuntimeConfigSummary
kcr project—PythonExplicit --config <FILE.jsonc> onlyScaffold a new KiCad 10 project from CLI flags, a JSONC config, or an interactive TUI.
kcr project-libproject-library, project-local-lib, local-libraryPython—Extract project-local symbol/footprint libraries and optionally relink schematic/board references.
kcr health—Python—Run a read-only audit of project assets, missing footprints, and embedded vs. external 3D models.
kcr megamaid—Python—Build a non-destructive project dissection bundle (libraries, models, embedded assets, design review).
kcr lib-extractlibrary-extractPython—Extract non-power symbols and footprints from a project into clean reusable libraries.
kcr pcb—PythonExplicit --config <FILE>Board and footprint maintenance: plan/apply doc-layer cleanup (clean) and embed 3D STEP models (embed-models).

KiCad Environment & Utilities

Local KiCad installation inspection, process management, preference discovery, and version reporting.

CommandAliasesRuntimeConfigSummary
kcr kicad—Python—Inspect local KiCad installs, preferences, and running processes; launch or stop KiCad apps.
kcr version—Python + Rust—Print installed kicad-cruncher and kicad-monkey versions.
kicad-monkey v2026.11.30·Docs updated 2026.12.01 15:43 UTC (fd9b75b)