mirror of
https://github.com/TECHNOFAB11/ergogen.git
synced 2025-12-13 16:40:05 +01:00
Added new footprints for OLEDs, jumpers, and Omron B3F-4055 switches
This commit is contained in:
parent
a431bc44bb
commit
2f6b9ab52c
4 changed files with 83 additions and 0 deletions
21
src/footprints/jumper.js
Normal file
21
src/footprints/jumper.js
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
module.exports = {
|
||||
nets: ['from', 'to' ],
|
||||
params: {
|
||||
class: 'J',
|
||||
side: 'F'
|
||||
},
|
||||
body: p => `
|
||||
(module lib:Jumper (layer F.Cu) (tedit 5E1ADAC2)
|
||||
${p.at /* parametric position */}
|
||||
|
||||
${'' /* footprint reference */}
|
||||
(fp_text reference "${p.ref}" (at 0 0) (layer F.SilkS) ${p.ref_hide} (effects (font (size 1.27 1.27) (thickness 0.15))))
|
||||
(fp_text value Jumper (at 0 -7.3) (layer F.Fab) (effects (font (size 1 1) (thickness 0.15))))
|
||||
|
||||
${'' /* pins */}
|
||||
(pad 1 smd rect (at -0.50038 0 ${p.rot}) (size 0.635 1.143) (layers ${p.param.side}.Cu ${p.param.side}.Paste ${p.param.side}.Mask)
|
||||
(clearance 0.1905) ${p.net.from})
|
||||
(pad 2 smd rect (at 0.50038 0 ${p.rot}) (size 0.635 1.143) (layers ${p.param.side}.Cu ${p.param.side}.Paste ${p.param.side}.Mask)
|
||||
(clearance 0.1905) ${p.net.to}))
|
||||
`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue