Change net defauls

This commit is contained in:
Marco Massarelli 2023-10-23 20:11:49 -04:00
parent 6c317e8242
commit d988a027a2
1 changed files with 3 additions and 3 deletions

View File

@ -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)))