Repository navigation
Conversation
JLC library tooling draws package body outlines on the unassigned EasyEDA layer 0 (e.g. the 14mm outline of TFBGA-265 on C114407), which aborted installation with "Cannot convert graphics on unsupported layer 0". Layer 0 is now treated like the other internal documentation layers (99/100/101): its graphics are omitted from the footprint output but still bound the courtyard, and they no longer block substitution with a KiCad built-in footprint.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
jlc-cli install C114407(STM32H743XIH6, TFBGA-265) fails with:Root cause
JLC library tooling draws the package body outline (the 14 mm
RECTof the TFBGA-265 footprint) on the unassigned EasyEDA layer 0. The footprint converter'sKI_LAYERSmap has no entry for it, sogetLayer(0)throws and aborts the whole installation.Fix
Treat layer 0 like the other internal EasyEDA documentation layers (99/100/101):
INTERNAL_LAYER_IDS = [0, 99, 100, 101]used by all six graphic generators (TRACK/CIRCLE/ARC/RECT/TEXT/SOLIDREGION) — layer 0 graphics are omitted from the output but still bound the courtyard, consistent with existing doc-layer behaviorcanSubstituteStandard, so a 2-pad passive with a layer 0 doc graphic can still map to a KiCad built-in footprintTruly unknown layers keep failing loudly as before.
Testing
packages/coreconverter tests: 101 pass;cli+mcptests: 37 pass; typecheck clean across all packagesjlc-cli install C114407now succeeds and writes the 265-padTFBGA-265_L14.0-W14.0-P0.80-TL_STM32H743XIH6footprint to the KiCad libraryIncludes a changeset (
@jlcpcb/core: patch).