Skip to content

v1.2.0

Choose a tag to compare

@wysemon wysemon released this 28 Oct 02:05

EasyEDA-Std.-2Kicad v1.2.0 is a stable release of the local, strictly 2D EasyEDA Standard to KiCad converter.

Changes since v1.1.0

  • Complete multi-unit symbols: export every verified result.subparts unit using its own origin. The STM32F103C8T6 fixture now exports both units and all 48 pins exactly once, matching its 48 footprint pads. Incomplete or unsupported units fail clearly instead of producing a partial symbol. Legacy partial caches are rebuilt offline.
  • More real-world pad formats: accept case-insensitive Y/N, yes/no, true/false and 1/0 plating flags. Unknown or missing through-hole flags warn and default to plated. Import legitimate polygon pads with zero width/height by deriving missing dimensions from their vertices, while retaining polygon and anchor safety checks. Report all bad pads together with their raw records and specific reasons.
  • Restored drawing geometry: support bare XY lists as closed SOLIDREGION polygons. Read symbol A-record stroke width from index 4, restoring the buzzer arc; PT records retain index 3. Added fixture-wide symbol field-layout checks and native polygon comparisons.
  • Symbol-only components: when no footprint geometry or footprint UUID exists, export the symbol with an empty Footprint property and no generated .pretty folder. Report success with a warning, retain the note in CREDITS, and validate only the symbol. A known but unavailable footprint remains an error.
  • Clearer origins and warnings: distinguish symbol and footprint origin fallbacks. Verify that canvas fallbacks preserve pad positions. Summarize skipped Mechanical-layer drawings once per component. The LED fixture's additional Document-layer artwork was checked against source coordinates and preserved without repositioning.
  • Resilient batch input: validate command arguments, file entries and interactive input individually. Continue with valid UUIDs in their original order, deduplicate them, and report file line numbers for invalid entries. Any invalid entry returns exit code 1; all-invalid batches make no requests. Existing 403/429 stop behavior remains intact.
  • One installed command: euc2k. It replaces ee2kicad and easyeda2kicad-local. The project name is EasyEDA-Std.-2Kicad. Bare links, fetch, convert, prompts and existing options remain supported. Root launchers remain run.bat and run.sh.
  • Documentation and regression coverage: add six unchanged real component fixtures, an animated README demo, and updated API notes. Remove obsolete process documents. Correct release documentation for plating behavior and native checks.

Installation and upgrade

Requires Git and Python 3.11 or newer.

git clone --branch v1.2.0 --single-branch https://github.com/wysemon/EasyEDA-Std.-2Kicad.git
cd EasyEDA-Std.-2Kicad

On Windows CMD:

run https://easyeda.com/component/7db93ef938c54a728e02f6579db05977

On Linux/macOS:

./run.sh https://easyeda.com/component/7db93ef938c54a728e02f6579db05977

The launcher creates or refreshes the local environment automatically. After pip install -e ., use euc2k <link>. Existing clones can pull the update and rerun their launcher. Existing complete libraries may be skipped, so explicitly rebuild cached components to apply drawing fixes with run convert <uuid> or ./run.sh convert <uuid>; this stays offline and preserves source bytes.

Output defaults to ./output. The terminal prints full library paths and KiCad import instructions. GitHub's source archives are sufficient; no separate binary assets are required.

Verification and compatibility

  • Full local offline suite: 931 passed, one native Windows-only test skipped locally, one live test deselected. Ruff lint and formatting pass.
  • Main CI and tag CI each verify all seven matrix jobs. CI runs the offline suite and Ruff on Ubuntu and Windows with Python 3.11 and 3.12, including the native Windows launcher and installed euc2k command checks.
  • 37 native integration checks pass on each of KiCad 8.0.9, 9.0.9 and 10.0.7 on Linux, covering imports, upgrades, rendering and physical pad geometry. Output formats remain compatible with KiCad 8–10.
  • No live component requests are used in the release test suite. Default sequential pacing remains 4 seconds plus 0–2 seconds jitter, with a 1-second minimum base delay and a stop after two consecutive 403/429 responses.

Known limitations

Exports are strictly 2D. Unsupported unit layouts and ambiguous electrical geometry are rejected. Real PT/C symbol records, some rear-side/custom-pad and text-layout conventions, and independent or offset slots remain incompletely verified. Manual EasyEDA/KiCad GUI comparisons and native KiCad on Windows/macOS are not covered by the Linux native matrix. Source artwork and duplicate pin numbers are retained with appropriate warnings. Review geometry, drills and pin mapping before fabrication; conversion and CLI validation do not establish manufacturability.

Full comparison: v1.1.0...v1.2.0