Skip to content

fix: parse pin count and dynamically size silkscreen for JST PH variant (#495)#646

Open
Heyzerohey wants to merge 2 commits into
tscircuit:mainfrom
Heyzerohey:fix/jst-ph-pin-count
Open

fix: parse pin count and dynamically size silkscreen for JST PH variant (#495)#646
Heyzerohey wants to merge 2 commits into
tscircuit:mainfrom
Heyzerohey:fix/jst-ph-pin-count

Conversation

@Heyzerohey
Copy link
Copy Markdown

This PR fixes issue #495 by parsing the pin count from footprint string for JST PH variant (e.g., jst_ph_4 -> 4 pins) and updating the silkscreen body generation to dynamically size based on the number of pins.

@Heyzerohey
Copy link
Copy Markdown
Author

I have submitted a complete fix for this issue in this PR. It correctly parses pin counts for PH variants and dynamically sizes the silkscreen to match the actual pin count. All 412 tests pass successfully!

@Heyzerohey
Copy link
Copy Markdown
Author

Hi @seveibar! Polite follow-up on this PR. All CI checks are 100% green and passing. It fixes a critical bug in the JST PH variant footprint by correctly parsing pin count and dynamically sizing the silkscreen outline. Could you please take a quick look when you have a moment? Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant