Skip to content

Conversation

@nasheed-x
Copy link
Contributor

@nasheed-x nasheed-x commented Dec 16, 2025

Changes

  • Add 'Mechanical' option to MountingHole Plating enum for non-plated holes
  • Update MountingHole footprint logic to handle Via and Mechanical plating types
  • Mechanical holes now use MountingHole symbol (no pad) and have no electrical pins
  • Remove unnecessary convert= for enum configs

Note: MolexPicoBlade and JstGh connectors have been moved to the registry repo.

…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
@nasheed-x nasheed-x changed the title Add Mechanical plating to MountingHole and migrate MolexPicoBlade to connectors Add MountingHole Mechanical plating, JST GH connector, and migrate connectors Dec 16, 2025
@nasheed-x nasheed-x requested a review from akhilles December 16, 2025 02:28
Copy link
Contributor

@akhilles akhilles left a 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.

Copy link
Contributor

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

registry?

Comment on lines 16 to 18
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)
Copy link
Contributor

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

@nasheed-x nasheed-x changed the title Add MountingHole Mechanical plating, JST GH connector, and migrate connectors Add MountingHole Mechanical plating option Dec 16, 2025
@nasheed-x nasheed-x merged commit d5c6e8f into main Dec 16, 2025
4 checks passed
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.

3 participants