mirror of
https://github.com/dnlbauer/corax-keyboard.git
synced 2026-09-10 13:15:29 +00:00
text saying where to solder
This commit is contained in:
@@ -273,6 +273,22 @@ pcbs:
|
||||
P7: col2
|
||||
P8: col3
|
||||
P9: col4
|
||||
jumper_text_f:
|
||||
what: text
|
||||
where: mcu
|
||||
params:
|
||||
side: "F"
|
||||
text: "Solder this side &\\nPlace Nice!Nano face down."
|
||||
adjust:
|
||||
rotate: 90
|
||||
jumper_text_b:
|
||||
what: text
|
||||
where: mcu
|
||||
params:
|
||||
side: "B"
|
||||
text: "Solder this side &\\nPlace Nice!Nano face down."
|
||||
adjust:
|
||||
rotate: 90
|
||||
jumper_f_raw:
|
||||
what: jumper
|
||||
where: mcu
|
||||
|
||||
17
ergogen/footprints/text.js
Normal file
17
ergogen/footprints/text.js
Normal file
@@ -0,0 +1,17 @@
|
||||
module.exports = {
|
||||
params: {
|
||||
text: '',
|
||||
side: 'F'
|
||||
},
|
||||
body: p => `
|
||||
(module lib:text (layer F.Cu) (tedit 648E0265)
|
||||
|
||||
${p.at /* parametric position */}
|
||||
|
||||
(fp_text user "${p.text}" (at 0 0 ${p.rot + 90}) (layer ${p.side}.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) ${p.side === 'F' ? "" : "(justify mirror)"} ))
|
||||
|
||||
)
|
||||
`
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user