Skip to content

Releases

euc2k.py v1.4.2

Choose a tag to compare

@github-actions github-actions released this 30 Oct 11:06

Changelog

1.4.2 — 2026-10-30

  • Fix conversion of short rectangular SMD pad records that omit through-hole drill-slot fields, preserving front/back copper, paste and mask layers.
  • Keep the terminal demo cursor inline after the command when it wraps on mobile, preserving its spacing and animation.

1.4.1 — 2026-10-28

  • Publish the corrected README to PyPI, including the clickable inspiration credit and the pip-first Windows and Linux/macOS quick starts.
  • Update package/runtime versions, website release labels and version-specific documentation links together.
  • Keep converter behavior, CLI options, source preservation, cache safety and request pacing unchanged. Compatibility remains Python 3.11+ and KiCad 8/9/10; exports remain strictly 2D.

1.4.0 — 2026-10-28

  • Prepare the first production PyPI distribution under the package name euc2k, with euc2k as its sole console command and python -m euc2k as the module entry point.
  • Add an artifact-validation and Trusted Publishing workflow. PyPI and GitHub use the same validated wheel and source distribution; publishing requires successful tests and an authorized PyPI publisher.
  • Update installation instructions, package links and website release labels to 1.4.0. Make README image and documentation links work when displayed on PyPI. Correct stale descriptions of cache ownership and rebuilding.
  • Include the website work added since 1.3.0: OS-specific setup, opt-in validation instructions, separate core/native test counts, and the ATMEGA16U2 source/output screenshot gallery.
  • Preserve conversion geometry, CLI options, cache identity checks, source bytes, atomic writes and rollback, duplicate pins, request pacing and the 403/429 stop rule. No new converter geometry support is introduced.

Compatibility remains Python 3.11+ and KiCad 8/9/10 output. Exports remain strictly 2D. Native KiCad verification runs on Linux; manual GUI comparisons and native KiCad on Windows/macOS remain outside the automated native matrix. Review component geometry, drills and connectivity before fabrication.

Earlier release notes: 1.3.0.

euc2k.py v1.4.1

Choose a tag to compare

@github-actions github-actions released this 28 Oct 15:16
  • Publish the corrected README to PyPI, including the clickable inspiration credit and the pip-first Windows and Linux/macOS quick starts.
  • Update package/runtime versions, website release labels and version-specific documentation links together.
  • Keep converter behavior, CLI options, source preservation, cache safety and request pacing unchanged. Compatibility remains Python 3.11+ and KiCad 8/9/10; exports remain strictly 2D.

Install or update in your Python 3.11+ environment:

python -m pip install --upgrade "euc2k==1.4.1"
euc2k --version

The wheel and source archive attached here are the same validated artifacts published to PyPI. Native KiCad tests cover Linux; manual GUI checks and native KiCad on Windows/macOS remain outside the automated native matrix. Review generated geometry and connectivity before fabrication.

euc2k.py v1.4.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 13:02

Changelog

1.4.0 — 2026-10-28

  • Prepare the first production PyPI distribution under the package name euc2k, with euc2k as its sole console command and python -m euc2k as the module entry point.
  • Add an artifact-validation and Trusted Publishing workflow. PyPI and GitHub use the same validated wheel and source distribution; publishing requires successful tests and an authorized PyPI publisher.
  • Update installation instructions, package links and website release labels to 1.4.0. Make README image and documentation links work when displayed on PyPI. Correct stale descriptions of cache ownership and rebuilding.
  • Include the website work added since 1.3.0: OS-specific setup, opt-in validation instructions, separate core/native test counts, and the ATMEGA16U2 source/output screenshot gallery.
  • Preserve conversion geometry, CLI options, cache identity checks, source bytes, atomic writes and rollback, duplicate pins, request pacing and the 403/429 stop rule. No new converter geometry support is introduced.

Compatibility remains Python 3.11+ and KiCad 8/9/10 output. Exports remain strictly 2D. Native KiCad verification runs on Linux; manual GUI comparisons and native KiCad on Windows/macOS remain outside the automated native matrix. Review component geometry, drills and connectivity before fabrication.

Earlier release notes: 1.3.0.

v1.3.0

Choose a tag to compare

@wysemon wysemon released this 28 Oct 10:18

euc2k.py — EasyEDA User Contributed To KiCad. A local, strictly 2D converter from public EasyEDA Standard component data to KiCad 8/9/10 libraries.

Changes in v1.3.0

  • Clean project branding: euc2k.py for display; euc2k for the Python distribution, import package and sole installed console command.
  • Use euc2k <link>, euc2k fetch ..., euc2k convert ... or python -m euc2k. Running without arguments opens the existing input prompts.
  • euc2k --version prints euc2k 1.3.0. Help begins with euc2k: EasyEDA User Contributed To KiCad.
  • Generated KiCad libraries identify their generator as euc2k. Geometry conversion is unchanged.
  • Completion/recovery markers, temporary prefixes and environment variables consistently use .euc2k-*, euc2k-* and EUC2K_* names.
  • Removed command aliases and special migration paths. Unrecognized marker files do not establish completion: components are rebuilt offline from cached raw.json. Unrecognized files remain untouched, and replaced library bytes are backed up after identity checks. Publication rollback and source-byte preservation remain in place.
  • Updated README, API notes, contribution guide, launchers, CI, package metadata and repository URLs. The README retains its demo and includes the requested inspiration and source-rights statements.

Installation

Requires Git and Python 3.11 or newer.

git clone --branch v1.3.0 --single-branch https://github.com/wysemon/euc2k.py.git
cd euc2k.py

Windows CMD:

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

Linux/macOS:

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

The launchers prepare their environment automatically. After installing with pip install -e ., use euc2k <link>. Existing clones can pull the update and run run --version or ./run.sh --version to refresh setup. Explicit cached rebuilding uses euc2k convert <uuid>.

Verification

  • Full local offline suite: 921 passed, one native Windows-only test skipped locally, one live test deselected. Obsolete migration-specific tests were retired; cache rebuilding and file preservation have dedicated regression coverage.
  • Ruff lint and formatting pass. A fresh non-editable installation exposes only the euc2k project command and reports version 1.3.0.
  • CI checks Ubuntu and Windows on Python 3.11/3.12, including native Windows launcher behavior and installed-command execution.
  • Native KiCad 8/9/10 integration checks verify imports, upgrades, rendering and pad geometry on Linux.
  • The complete repository tree, excluding .git, contains no disallowed previous project/package/command names. The permitted README inspiration line is retained, including its generated package-metadata copies.

Scope and limitations

Strictly 2D; no model downloads or attachments. Request pacing, retry limits and the two-consecutive-403/429 stop rule are unchanged. No live component fetch was used in the release tests. Manual GUI comparisons and native KiCad on Windows/macOS remain unverified; review component geometry and connectivity before fabrication. This unofficial tool is not affiliated with or endorsed by EasyEDA, JLC or LCSC. Contributed component data retains its authors' rights.

Verification: main CI · tag CI.

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

v1.1.0

Choose a tag to compare

@wysemon wysemon released this 27 Oct 20:36

A local, strictly 2D EasyEDA Standard to KiCad converter. Python 3.11+ is required.

Fixes and improvements

  • Reject missing or invalid copper widths without inventing dimensions; preserve valid narrow strokes.
  • Reject ambiguous copper contours and custom pads whose anchors would add copper. Bound intersection-check work.
  • Reject missing electrical positions and inconsistent, offset or independently angled slot geometry.
  • Preserve full cache identity, source bytes, offline conversion, user files and rollback safety.
  • Retain the 4-second cooldown plus 0–2-second jitter and the consecutive 403/429 stop rule.

Compatibility and verification

  • One KiCad 8 output format, verified natively on KiCad 8.0.9, 9.0.9 and 10.0.7 on Ubuntu 24.04.
  • Each major passes 27 native import, upgrade, rendering, property and physical pad/drill/layer checks.
  • Windows/Linux Python 3.11/3.12 CI, Ruff lint and formatting, and package/CLI version checks pass.
  • All six stored real-component exports remain byte-identical to the previous main branch.

Install and run

git clone --branch v1.1.0 https://github.com/wysemon/EasyEDA-Std.-2Kicad.git
cd EasyEDA-Std.-2Kicad
run <EasyEDA-component-link>

On Linux/macOS use ./run.sh <EasyEDA-component-link> for the last command. The launcher creates its local environment on first use. Generated libraries go to output/; add the printed .kicad_sym and .pretty paths in KiCad.

Known limitations

Compound/curved fills, multi-unit symbols, unsupported copper layers and ambiguous drilling conventions are rejected. Genuine custom/rear-mounted examples and full text layout remain limited. Native KiCad on Windows/macOS and manual GUI inspection are unverified. The converter provides no manufacturability guarantee; review source rights and generated CREDITS.txt before redistribution.

Verified commit: a937c4737504561628c4ea80969b84f873aa40a6.
Main CI · Tag CI.