mirror of
https://github.com/dnlbauer/corax-keyboard.git
synced 2026-09-11 05:35:29 +00:00
add some text and descriptions
This commit is contained in:
@@ -2,14 +2,15 @@ module.exports = {
|
||||
params: {
|
||||
text: '',
|
||||
side: 'F',
|
||||
knockout: false
|
||||
knockout: false,
|
||||
fontsize: 0.8
|
||||
},
|
||||
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 ${p.knockout ? "knockout" : ""}) (effects (font (size 0.8 0.8) (thickness 0.15)) ${p.side === 'F' ? "" : "(justify mirror)"} ))
|
||||
(fp_text user "${p.text}" (at 0 0 ${p.rot + 90}) (layer ${p.side}.SilkS ${p.knockout ? "knockout" : ""}) (effects (font (size ${p.fontsize} ${p.fontsize}) (thickness 0.15)) ${p.side === 'F' ? "" : "(justify mirror)"} ))
|
||||
|
||||
)
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user