-
Notifications
You must be signed in to change notification settings - Fork 2
Add MountingHole Mechanical plating option #112
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
Conversation
…connectors - Add 'Mechanical' option to MountingHole Plating enum for non-plated holes - Update MountingHole footprint logic to handle Via and Mechanical plating - Mechanical holes now use MountingHole symbol (no pad) and have no pins - Copy MolexPicoBlade to connectors/ directory with test file - Add deprecation warning to kicad/MolexPicoBlade.zen
- Add JstGh.zen with PinCount (2-14) and Orientation enums - Update MolexPicoBlade and JstGh to pass mpn/manufacturer directly to Component - Remove Properties() usage in favor of direct properties dict - Add test file for JST GH connector
akhilles
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mounting hole changes lgtm.
connectors/MolexPicoBlade.zen
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we just move this to registry instead? Not really sure it belongs in the stdlib.
connectors/JstGh.zen
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
registry?
generics/MountingHole.zen
Outdated
| diameter = config("diameter", Diameter, convert=Diameter) | ||
| standard = config("standard", Standard, default=Standard("DIN965"), convert=Standard, optional=True) | ||
| plating = config("plating", Plating, default=Plating("TopBottom"), convert=Plating, optional=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you don't need the convert= anymore for enums
Changes
Note: MolexPicoBlade and JstGh connectors have been moved to the registry repo.