Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer part selector footprint by smaller area #375

Merged
merged 19 commits into from
Aug 24, 2024
Merged

Prefer part selector footprint by smaller area #375

merged 19 commits into from
Aug 24, 2024

Conversation

ducky64
Copy link
Collaborator

@ducky64 ducky64 commented Aug 24, 2024

A cleaner version of sorting parts instead of by footprint name before, which mostly worked for 0402, ..., but did awful things for diodes. Also replaces the smd-min-package with a footprint (courtyard) area range. The default is set around 0603 (4mm^2).

Removes a bunch of footprint refinements on example designs, these mostly were to get reasonable diode / FET selections. The area-minimization now handles it. Some examples go from SOD-123 to SOD-323.

The footprint area calculator does not handle arcs, that may be future work.

Some cleanup of the existing parts tables, to unify sorting criteria and deduplicate code. A future PR will refactor those parts more.

@ducky64 ducky64 merged commit beb9736 into master Aug 24, 2024
11 checks passed
@ducky64 ducky64 deleted the area branch August 24, 2024 04:36
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