Change net defauls
This commit is contained in:
parent
6c317e8242
commit
d988a027a2
|
|
@ -2,15 +2,15 @@ module.exports = {
|
||||||
params: {
|
params: {
|
||||||
side: 'F',
|
side: 'F',
|
||||||
reversible: false,
|
reversible: false,
|
||||||
BAT_P: { type: 'net', value: 'BAT+' },
|
BAT_P: { type: 'net', value: 'BAT_P' },
|
||||||
BAT_N: { type: 'net', value: 'BAT-' },
|
BAT_N: { type: 'net', value: 'GND' },
|
||||||
},
|
},
|
||||||
body: p => {
|
body: p => {
|
||||||
const standard_opening = `
|
const standard_opening = `
|
||||||
(footprint "JST_PH_S2B-PH-K" (layer ${p.side}.Cu) (tedit 6135B927)
|
(footprint "JST_PH_S2B-PH-K" (layer ${p.side}.Cu) (tedit 6135B927)
|
||||||
${p.at /* parametric position */}
|
${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)
|
(attr through_hole)
|
||||||
(fp_text reference "${p.ref}" (at 1 -2.55 ${p.rot}) (layer "${p.side}.SilkS") ${p.ref_hide}
|
(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)))
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue