mirror of
https://github.com/TECHNOFAB11/ergogen.git
synced 2025-12-12 16:10:04 +01:00
Footprint parameter flattening done
This commit is contained in:
parent
3a0f326a31
commit
58bb16ed28
31 changed files with 316 additions and 350 deletions
|
|
@ -1,11 +1,9 @@
|
|||
module.exports = {
|
||||
nets: {
|
||||
params: {
|
||||
designator: 'S',
|
||||
from: undefined,
|
||||
to: undefined
|
||||
},
|
||||
params: {
|
||||
class: 'S'
|
||||
},
|
||||
body: p => `
|
||||
|
||||
(module OMRON_B3F-4055 (layer F.Cu) (tstamp 5BF2CC94)
|
||||
|
|
@ -26,10 +24,10 @@ module.exports = {
|
|||
(fp_line (start -6 6) (end -6 -6) (layer Dwgs.User) (width 0.15))
|
||||
|
||||
${'' /* pins */}
|
||||
(pad 1 np_thru_hole circle (at 6.25 -2.5) (size 1.2 1.2) (drill 1.2) (layers *.Cu *.Mask) ${p.net.from.str})
|
||||
(pad 2 np_thru_hole circle (at -6.25 -2.5) (size 1.2 1.2) (drill 1.2) (layers *.Cu *.Mask) ${p.net.from.str})
|
||||
(pad 3 np_thru_hole circle (at 6.25 2.5) (size 1.2 1.2) (drill 1.2) (layers *.Cu *.Mask) ${p.net.to.str})
|
||||
(pad 4 np_thru_hole circle (at -6.25 2.5 ) (size 1.2 1.2) (drill 1.2) (layers *.Cu *.Mask) ${p.net.to.str})
|
||||
(pad 1 np_thru_hole circle (at 6.25 -2.5) (size 1.2 1.2) (drill 1.2) (layers *.Cu *.Mask) ${p.from.str})
|
||||
(pad 2 np_thru_hole circle (at -6.25 -2.5) (size 1.2 1.2) (drill 1.2) (layers *.Cu *.Mask) ${p.from.str})
|
||||
(pad 3 np_thru_hole circle (at 6.25 2.5) (size 1.2 1.2) (drill 1.2) (layers *.Cu *.Mask) ${p.to.str})
|
||||
(pad 4 np_thru_hole circle (at -6.25 2.5 ) (size 1.2 1.2) (drill 1.2) (layers *.Cu *.Mask) ${p.to.str})
|
||||
)
|
||||
|
||||
`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue