Change net defauls
This commit is contained in:
parent
6c317e8242
commit
d988a027a2
|
|
@ -2,15 +2,15 @@ module.exports = {
|
|||
params: {
|
||||
side: 'F',
|
||||
reversible: false,
|
||||
BAT_P: { type: 'net', value: 'BAT+' },
|
||||
BAT_N: { type: 'net', value: 'BAT-' },
|
||||
BAT_P: { type: 'net', value: 'BAT_P' },
|
||||
BAT_N: { type: 'net', value: 'GND' },
|
||||
},
|
||||
body: p => {
|
||||
const standard_opening = `
|
||||
(footprint "JST_PH_S2B-PH-K" (layer ${p.side}.Cu) (tedit 6135B927)
|
||||
${p.at /* parametric position */}
|
||||
|
||||
(descr "JST PH series connector, S2B-PH-K (http://www.jst-mfg.com/product/pdf/eng/ePH.pdf), generated with kicad-footprint-generator")
|
||||
(descr "JST PH series connector, S2B-PH-K (http://www.jst-mfg.com/product/pdf/eng/ePH.pdf)")
|
||||
(attr through_hole)
|
||||
(fp_text reference "${p.ref}" (at 1 -2.55 ${p.rot}) (layer "${p.side}.SilkS") ${p.ref_hide}
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
|
|
|
|||
Loading…
Reference in New Issue