Update footprints to match new structure

This commit is contained in:
Bán Dénes 2021-07-11 21:04:41 +02:00
parent fe30b91309
commit c12e8d288e
18 changed files with 240 additions and 162 deletions

View file

@ -1,5 +1,8 @@
module.exports = {
nets: ['from', 'to'],
nets: {
from: undefined,
to: undefined
},
params: {
class: 'S'
},
@ -24,8 +27,8 @@ module.exports = {
(fp_line (start 7 -7) (end 7 -6) (layer Dwgs.User) (width 0.15))
${''/* pins */}
(pad 1 thru_hole circle (at 2.5 -4.5) (size 2.25 2.25) (drill 1.47) (layers *.Cu *.Mask) ${p.net.from})
(pad 2 thru_hole circle (at -2.5 -4) (size 2.25 2.25) (drill 1.47) (layers *.Cu *.Mask) ${p.net.to})
(pad 1 thru_hole circle (at 2.5 -4.5) (size 2.25 2.25) (drill 1.47) (layers *.Cu *.Mask) ${p.net.from.str})
(pad 2 thru_hole circle (at -2.5 -4) (size 2.25 2.25) (drill 1.47) (layers *.Cu *.Mask) ${p.net.to.str})
)
`