-
Notifications
You must be signed in to change notification settings - Fork 177
Trying to generate for TSM-SH series #319
Comments
Did you install a YAML parser? Use Also, which version of Python are you using? |
I ran Python 3.7.2 |
Well dang. I get the same result. @antoniovazquezblanco ? I'm out of time today but can look at this tomorrow if Antonio doesn't answer. Can you run other scripts? The other Harwin one doesn't work for me but I'm also on 3.7.2. |
Yup, that one worked, although warnings about safe load, and also
|
#320 for when things are semi-functional. Dunno how I feel about the detailed silk screen... also, Samtec offers 4 pin lengths, also unsure how to handle. Perhaps a graphical display with 4 lines indicating the different offsets? But keep the traditional/most common depth? Quick example: |
Fixed both Harwin script issues at #322. On pin length, I have two proposals. Our library is big enough to support many footprints, but since it's also general-purpose I'm inclined to support the greatest number of footprints possible.
|
Sweet, that'll get me tinkering. My issue with option 2 is that I bet 99% will use the standard length. Building the longer one will waste space for most people designs. Another thought: This connector would very likely be at the edge of the board, or if not, it would need to have quite a bit of space left in front to allow for plugging in of the header. The pin outline could reflect the standard pin length, but the courtyard could reflect the longest pin length? For something overhanging the edge of the board, the courtyard would have no ill effect. Of course it would violate KLC, which might bring us back to option 1 which is the one I want :) |
Okay, so I had an issue with the pin 1 silkscreen. I changed a few lines, from 6.775 to 6.98
Looking better. That number 6.775 is everywhere. And then I noticed the silkscreen for the pins is off as well. So it leads me to believe perhaps I need to be fixing it elsewhere? Or is this just part of the game? I do notice a silkscreen pad offset, but can't find that configured anywhere, and perhaps I don't want to touch that. |
Thoughts on this? Should I submit a PR for continued discussion in kicad-footprints ? |
The courtyard should match the footprint. Good catches on the silkscreen. Magic numbers are no good, especially if it's used all over the code. You will want to keep 0.12mm or more clearance from pads to silk, which turns into 0.18mm since you need to consider half of the silk line width (or the endcap radius). If there is a silkscreen pad offset not being used, it seems like a good variable name so put it to use or remove it so nobody else is confused in the future. Script quality can vary, and the framework sometimes changes, so it may take a bit of work to start with an existing script and end up with something nice. Great work! The screenshots above look OK, but in this case a footprint PR with all the parts to view in KiCad and a script PR will be the best way to get this reviewed and merged. |
I'll get a PR going. RE: Courtyard, I followed KLC for a connector. One might argue that the pin-side should be even bigger to allow mating?
|
https://www.samtec.com/products/tsm
@evanshultz Bringing it over here from the kicad-footprints issues.
I've slightly modified the existing Harwin script that you found for similar pins.
Note I'm using windows with the bash shell provided by Git.
Here's where I'm at just trying to get it to spit something out
The text was updated successfully, but these errors were encountered: