-
Notifications
You must be signed in to change notification settings - Fork 712
Replace tht solder wire with scripted and add relieve version #2062
Conversation
6xOD should be a one-size-fits-all-solution.
|
I am not sure if mm² would work for everything involved (python script, kicad, travis, ...) And to be honest i not really sure i want to invest the time to find that out. I am also not sure that adding a prefix to the main measurement is fitting with our general naming convention (after all we do not prefix the body size of components) |
True. My mistake. Edit: √ᚠ̅ |
Ok i will use mm² in the description. |
One more thing: |
Yes you are right |
- The correct spelling is strain relief - Remove trailing zeros - Use mm² in the description as it is quite safe and easier to read
@chschlue i forgot to ping you after i fixed your remarks |
Actually, I noticed you pushed changes but then forgot to take a look. Will do later. |
Have you actually used these? |
I generally do not tin wires before inserting them and i think it would also not really work for the versions with relief as the wire is then no longer flexible enough (the whole reason for using the relief version is to have the inflexible part fixed in place). I however also did not test them myself so am also not certain that they work as created. The thing is also that 0.2mm oversize is surely enough for most of the wire sizes. I can however easily see how it might get too little for 1.5mm² and up. |
Looks good to me |
Fuck you were too fast |
What did I miss? |
I just realized that i have the pitch specifier in the footprint name for single wire versions |
Oops. |
Fix in #2274 |
general info
script pointhi/kicad-footprint-generator#489
This replaces the original THT solder wire footprints with a scripted options build for real wires found in https://ec.staubli.com/AcroFiles/Catalogues/TM_Cab-Main-11014119_(en)_hi.pdf (I also checked with other manufacturers. It seems the wire sizes are quite common)
I also included a version with one NPTH drill for strain release as well as one for two such holes (the later to ensure the wire ends up at the same PCB side as without relieve) The distance to the strain relieve holes is 6 times the outer diameter of the wire (bend radius is 3xOD as suggested by Stäubli/multi-contact but also lapp)
I got rid of the dual row version as it would be quite hard to script it. (Can possibly be added at a later stage)
The courtyard areas are split up as even for the smallest wires there is enough space for a 0402 footprint in between. -> this means the travis courtyard check fails
Right now all wires are metric. We can add footprints for AWG by adding them to the wire definition file.
open questions
I am not sure about the naming convention. For now i used the prefixes D for conductor diameter and OD for outer diameter. Another option would be to use Conductor and Outer (or Isolation) or even add the word Diameter to them.
Right now i do not include the bend radius in the footprint name. Maybe this would be an option (i however doubt we will add other bend radius options)
I am also not really sure how we should write mm² in the footprint name and documentation fields. In the footprint name and tag field i for now used sqmm while i used square mm in the description.
Screenshot of a few options:
inspiration