You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.
I've been working on a script to generate Samtec right-angle Q Strip and Q Pairs connectors, and run into a questions regarding what the "correct" way to represent the PCB edge in a footprint:
Where should the courtyard end? Should it extend beyond the edge of the PCB?
What layer should the PCB edge be on? I've seen it on both Edge.Cuts and Dwgs.User.
If the edge is not in Edge.Cuts, should there be a label for the PCB edge? If yes, what layer should I use for the label? Should the label be placed on the inside or outside the edge?
How wide should the PCB edge line be in comparison to the connector? Should it extend all the way to the edge of the courtyard?
According to F5.2 in the KLC, the footprint name should be placed below the footprint. Does this rule still apply if the name would have to be placed outside of the PCB?
Where should the footprint origin be? Should it be aligned to the PCB edge?
Here's an example of one of the footprints I've generated using my script.
There are other librarians and many parts I'm not familiar with, but here's my suggestions:
Extending around the entire component body, including the part of the component off the board, is what I see in the library now.
Edge.Cuts. This is a limitation in the tool now, but I understand KiCad v6 will properly support cutouts in footprints. For now, I believe it will be supported by the script generator but you can't edit things later in the footprint editor.
Dwgs.User will work. Many USB connectors have text on this layer.
0.1mm is what I see in existing footprints. I would say it should just be the width of the connector body. It will be up to the user to connect this to (or overlap it with) their board outline. That being said, I don't see any guidelines about this.
Yes. It will appear in the fab drawing which is fine.
The footprint origin should be where it always should be: pin 1 for THT parts and the body center for SMD parts (unless pick-n-place or another reason overrides this).
I've been working on a script to generate Samtec right-angle Q Strip and Q Pairs connectors, and run into a questions regarding what the "correct" way to represent the PCB edge in a footprint:
Edge.Cuts
andDwgs.User
.Edge.Cuts
, should there be a label for the PCB edge? If yes, what layer should I use for the label? Should the label be placed on the inside or outside the edge?Here's an example of one of the footprints I've generated using my script.
Related pull requests:
The text was updated successfully, but these errors were encountered: