Skip to content

Support wider resistor-array end pads - #775

Draft
Abse2001 wants to merge 1 commit into
tscircuit:mainfrom
Abse2001:agent/fix-0603x4-c29718
Draft

Support wider resistor-array end pads#775
Abse2001 wants to merge 1 commit into
tscircuit:mainfrom
Abse2001:agent/fix-0603x4-c29718

Conversation

@Abse2001

@Abse2001 Abse2001 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • let 0603x4 set its two-column pitch
  • let resistor arrays use wider pads at the two ends of each column
  • add a C29718 regression test and SVG snapshot

Motivation

4D03WGJ0103T5E (JLCPCB C29718) is a real 0603x4 concave resistor array with 0.65 mm end terminals and 0.50 mm inner terminals. The existing generator forced every pad to one height and fixed the column pitch, limiting the best generic match to 87.39% copper IoU.

Implementation

The existing 0603x4 model now accepts columnpitch and outerpadheight. chipArray applies the wider height only to the first and last pad in each column; all other array families remain unchanged unless the option is supplied.

Validation

  • bun test tests/res-array-naming.test.ts: 5 passed
  • bun run build
  • C29718 copper IoU: 99.973% using 0603x4_p0.8mm_pw0.8mm_ph0.5mm_columnpitch1.6mm_outerpadheight0.65mm_pin1location(leftside,bottom)
  • new SVG snapshot for the real concave-array geometry

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