Skip to content

fix: sot23 draws a body outline and pin-1 marker - #852

Open
birdup000 wants to merge 1 commit into
tscircuit:mainfrom
birdup000:fix-sot23-silkscreen
Open

fix: sot23 draws a body outline and pin-1 marker#852
birdup000 wants to merge 1 commit into
tscircuit:mainfrom
birdup000:fix-sot23-silkscreen

Conversation

@birdup000

Copy link
Copy Markdown

Fixes #732

What

sot23 (3-pin) emitted zero pcb_silkscreen_path elements — no body outline, no pin-1 marker — while every sibling SOT footprint (sot23w, sot323, sot343, …) draws two. Adds the same two paths in the sibling style:

  • silkscreen_path_body: rectangular body outline spanning between the pad rows
  • silkscreen_path_pin1: short L tick marking the lone bottom pad (pin 1)

Verification

  • Repro: fp.string("sot23") now emits 2 pcb_silkscreen_path elements (was 0); 3 pads unchanged
  • Measured silk-to-pad clearance of the new paths: 0.15mm minimum — no copper overlap
  • Regression test tests/sot23-silkscreen.test.ts; SVG snapshots updated; full suite 565/565 pass, biome clean

The 3-pin sot23 emitted zero pcb_silkscreen_path elements while every
sibling SOT (sot23w, sot323, sot343...) draws a body outline. Adds
the same two paths the siblings use: a rectangular body outline
between the pad rows and a short pin-1 tick at the lone bottom pad,
with >=0.15mm silk-to-pad clearance.

Fixes tscircuit#732
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.

sot23 (3-pin) generates no silkscreen body outline or pin 1 marker, unlike every sibling SOT

1 participant