mirror of
https://github.com/TECHNOFAB11/ergogen.git
synced 2025-12-14 00:43:49 +01:00
Update footprints to match new structure
This commit is contained in:
parent
fe30b91309
commit
c12e8d288e
18 changed files with 240 additions and 162 deletions
|
|
@ -1,7 +1,10 @@
|
|||
module.exports = {
|
||||
nets: ['pos', 'neg'],
|
||||
nets: {
|
||||
pos: undefined,
|
||||
neg: undefined
|
||||
},
|
||||
params: {
|
||||
class: 'J',
|
||||
class: 'JST',
|
||||
side: 'F'
|
||||
},
|
||||
body: p => `
|
||||
|
|
@ -29,8 +32,8 @@ module.exports = {
|
|||
(fp_line (start -1 1.5) (end -1 2.0) (layer ${p.param.side}.SilkS) (width 0.15))
|
||||
(fp_line (start -1.25 1.75) (end -0.75 1.75) (layer ${p.param.side}.SilkS) (width 0.15))
|
||||
|
||||
(pad 1 thru_hole rect (at -1 0 ${p.rot}) (size 1.2 1.7) (drill 0.75) (layers *.Cu *.Mask) ${p.net.pos})
|
||||
(pad 2 thru_hole oval (at 1 0 ${p.rot}) (size 1.2 1.7) (drill 0.75) (layers *.Cu *.Mask) ${p.net.neg})
|
||||
(pad 1 thru_hole rect (at -1 0 ${p.rot}) (size 1.2 1.7) (drill 0.75) (layers *.Cu *.Mask) ${p.net.pos.str})
|
||||
(pad 2 thru_hole oval (at 1 0 ${p.rot}) (size 1.2 1.7) (drill 0.75) (layers *.Cu *.Mask) ${p.net.neg.str})
|
||||
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue