mirror of
https://github.com/dnlbauer/corax-keyboard.git
synced 2026-09-10 21:25:29 +00:00
18 lines
393 B
JavaScript
18 lines
393 B
JavaScript
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)"} ))
|
|
|
|
)
|
|
`
|
|
|
|
}
|
|
|