corax54 pcbs

This commit is contained in:
daniel
2024-02-10 13:35:58 +01:00
parent 029a0dbdb2
commit 1f1e045b47
37 changed files with 216844 additions and 3 deletions

View File

@@ -0,0 +1,19 @@
module.exports = {
params: {
text: '',
side: 'F',
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 ${p.fontsize} ${p.fontsize}) (thickness 0.15)) ${p.side === 'F' ? "" : "(justify mirror)"} ))
)
`
}