Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Add scripts for the generation of keyboard switch footprints #605

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add scripts for the generation of keyboard switch footprints #605

wants to merge 2 commits into from

Conversation

perigoso
Copy link

@perigoso perigoso commented Sep 4, 2020

These scripts generate footprints for common switches used in keyboard applications, they include user drawing to aid the layout.

image
image
image
image
image
image

I understand the scripts might not be in great shape, my python is rough. Open to some feedback.

There is an issue with these scripts (or KicadModTree itself) it can be visualized in the second picture, it seems the offset=[x,y] seems to not be taken into account like it should in kicad_mod.append(Pad(number=2, type=Pad.TYPE_THT, shape=Pad.SHAPE_OVAL, at=[-3.81,-2.54], size=[4.46156,2.5], rotation=48, offset=[0.980778,0], drill=1.5, layers=['*.Cu', 'B.Mask'])) any input?

@codeclimate
Copy link

codeclimate bot commented Sep 4, 2020

Code Climate has analyzed commit 16e44b3 and detected 0 issues on this pull request.

View more on Code Climate.

@perigoso
Copy link
Author

perigoso commented Sep 4, 2020

Detected Issues to be resolved before merge:

  • Ignored offset issue
  • 3D model settings
  • Second Reference Designator missing
  • This tag:
    image
  • Script description on the start of the script

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant