Skip to content

Replace tht solder wire with scripted and add relieve version

Rene Poeschl requested to merge github/fork/poeschlr/conn_wire into master

general info

script https://github.com/pointhi/kicad-footprint-generator/pull/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:

Screenshot from 2020-01-17 23-36-55

inspiration example

Merge request reports