Skip to content

accept Footprinter strings for cadModel - #762

Merged
seveibar merged 2 commits into
mainfrom
agent/cad-model-footprinter-string
Jul 28, 2026
Merged

accept Footprinter strings for cadModel#762
seveibar merged 2 commits into
mainfrom
agent/cad-model-footprinter-string

Conversation

@seveibar

@seveibar seveibar commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • define a non-empty cadModel string as a Footprinter model string
  • document the model string as independent of the component's PCB footprint
  • preserve object CAD models, React-element CAD models, and cadModel={null}
  • add parser coverage for cadModel="soic8"

Contract

<chip
  name="U1"
  footprint="custom_board_footprint"
  cadModel="soic8"
/>

Here, "soic8" describes only the procedural CAD model. It does not select or depend on the component's PCB footprint.

Validation

  • bun test — 389 passed, 0 failed
  • bun run typecheck
  • bun run build
  • bun run format:check
  • bun run check-circular-deps
  • all required documentation generators

@seveibar seveibar changed the title add footprinter_string cadModel option accept Footprinter strings for cadModel Jul 28, 2026
@seveibar
seveibar marked this pull request as ready for review July 28, 2026 18:57
@seveibar
seveibar merged commit 58f2edd into main Jul 28, 2026
4 checks passed
@seveibar
seveibar deleted the agent/cad-model-footprinter-string branch July 28, 2026 18:57
@tscircuitbot

Copy link
Copy Markdown
Contributor

Thank you for your contribution! 🎉

PR Rating: ⭐⭐
Impact: Minor

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


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.

2 participants