|
# Toe and heel length as a function of pitch |
|
# According to IPC-7351C, see slide 26 of |
|
# http://ocipcdc.org/archive/What_is_New_in_IPC-7351C_03_11_2015.pdf |
|
LEAD_TOE_HEEL = { |
|
1.00: 0.35, |
|
0.95: 0.35, # not specified in standard |
|
0.8: 0.33, |
|
0.65: 0.31, |
|
0.50: 0.29, |
|
0.40: 0.27, |
|
0.35: 0.25, |
|
} |
The linked document (only available via wayback machine or similar) shows the values given here as the value for both toe or heel (separately).
The usage
|
pad_length = config.lead_length + config.toe_heel + pad_extension |
uses the value as total "oversize".
However, the length would be toe + original + heel = original + 2*toe_heel. I think the code generates only half of the "oversize" recommended in the presentation.
librepcb-parts-generator/dfn_configs.py
Lines 33 to 44 in 76759e0
The linked document (only available via wayback machine or similar) shows the values given here as the value for both toe or heel (separately).
The usage
librepcb-parts-generator/generate_dfn.py
Line 219 in 76759e0
uses the value as total "oversize".
However, the length would be
toe + original + heel = original + 2*toe_heel. I think the code generates only half of the "oversize" recommended in the presentation.