Use CPLfix where you already work — inside KiCad, or in CI on every push. Both call the same free API as the web tool, so the numbers can never disagree with it. No accounts, no API key, no payment.
An ActionPlugin for KiCad 7, 8 and 9. It reads the open board, sends the placement to the CPLfix API, and saves the corrected CPL next to the board file as cpl-<cm>.csv.
plugins/ into your KiCad plugins folder (%APPDATA%\kicad\<version>\plugins\ on Windows, ~/Library/Application Support/kicad/<version>/plugins/ on macOS, ~/.local/share/kicad/<version>/plugins/ on Linux). Restart the PCB editor..kicad_pcb).cpl-<cm>.csv next to the board, plus <board>.cplfix.pos (the exact placement text it sent), and shows a short report: parts normalized, rotations changed, warnings.Source, tests and the PCM package (metadata, build script) live in the CPLfix repo under app/kicad-plugin/. KiCad 10 drops the SWIG runtime this plugin uses, so an IPC-API version will be needed for KiCad 10+.
normalize-cpl-actionNormalize your placement files on every push. The action POSTs each .pos/.csv to the free CPLfix API and writes the corrected CSV next to the source as <name>.normalized.csv. Warnings never fail the run — only API errors or unparseable files do.
- name: Normalize CPL for JLCPCB
id: cplfix
uses: Dw4pres/cplfix/github-action@v1
with:
cm: jlcpcb # jlcpcb | pcbway | macrofab
files: '**/*.pos'
cm (default jlcpcb), files (default **/*.pos), api-base (default https://cplfix.com), output-suffix (default .normalized.csv).files-normalized, parts-changed, warnings. A per-file summary is written to the run's summary page.Source and an example test workflow live in the CPLfix repo under app/github-action/. The runner is a single Python 3 stdlib script (urllib only) — no npm install, no curl/jq, same script on ubuntu/windows/macos runners.
Source for both integrations lives in the public repo: github.com/Dw4pres/cplfix. Still pending: a v1.0.0 release zip for the plugin, submitted to the KiCad addons repository, and a v1 tag for the action published to the GitHub Marketplace.