Change footprint name
This commit is contained in:
parent
17b3640c6d
commit
031bd20b89
|
|
@ -843,7 +843,7 @@ pcbs:
|
||||||
shift: [0.5 ks + 10.147, 0.375 kp -20.75]
|
shift: [0.5 ks + 10.147, 0.375 kp -20.75]
|
||||||
|
|
||||||
on_off_switch:
|
on_off_switch:
|
||||||
what: power_switch
|
what: power_switch_smd_side
|
||||||
where: matrix_inner_top
|
where: matrix_inner_top
|
||||||
params:
|
params:
|
||||||
from: BAT_P
|
from: BAT_P
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
params: {
|
params: {
|
||||||
designator: 'SW',
|
designator: 'PWR',
|
||||||
side: 'F',
|
side: 'F',
|
||||||
reversible: false,
|
reversible: false,
|
||||||
invert_behavior: true,
|
invert_behavior: true,
|
||||||
|
|
@ -56,7 +56,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
body: p => {
|
body: p => {
|
||||||
const common_start = `
|
const common_start = `
|
||||||
(module power_switch (layer ${p.side}.Cu) (tedit 64473C6F)
|
(module "ceoloide/power_switch_smd_side" (layer ${p.side}.Cu) (tedit 64473C6F)
|
||||||
${p.at /* parametric position */}
|
${p.at /* parametric position */}
|
||||||
(attr smd)
|
(attr smd)
|
||||||
(fp_text value "reset_button" (at 0 2.5 ${p.rot}) (layer ${p.side}.Fab)
|
(fp_text value "reset_button" (at 0 2.5 ${p.rot}) (layer ${p.side}.Fab)
|
||||||
Loading…
Reference in New Issue