Skip to content

Support configurable SOT-25 footprints - #713

Draft
seveibar wants to merge 1 commit into
mainfrom
agent/configurable-sot25-footprint
Draft

Support configurable SOT-25 footprints#713
seveibar wants to merge 1 commit into
mainfrom
agent/configurable-sot25-footprint

Conversation

@seveibar

Copy link
Copy Markdown
Contributor

Summary

  • make the SOT-25 w parameter control the total copper span while preserving the historical default geometry
  • support the _rot180 suffix for SOT-25 footprints
  • rotate pads, silkscreen, reference text, and courtyard together
  • add exact pad-geometry coverage for the AP2112K footprint used by abse/gameboy

Why

The AP2112K-3.3 regulator footprint in tscircuit.com/abse/gameboy is a normal SOT-23-5 package, but its imported EasyEDA copper uses a 3.2 mm total span and the opposite pin-1 orientation. The existing sot25 generator hard-coded pad centers and could not express that otherwise standard footprint.

This enables the exact equivalent:

sot25_p0.95mm_w3.2mm_pw0.6mm_pl1mm_rot180

Validation

  • bun test — full suite passing
  • targeted SOT-23/SOT-25/parser/completeness tests — 9 passing
  • bun run build
  • Biome check on changed files
  • git diff --check

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