mirror of
https://github.com/dnlbauer/corax-keyboard.git
synced 2026-09-10 21:25:29 +00:00
Squashed commit of the following: commit fc0171f96f06824f930dc5825498fa5e5ecf1060 Author: daniel <github@dbauer.me> Date: Tue Jul 18 11:26:57 2023 +0200 reversible slider commit 837158be306a0aa2e166f52b0d32387ab34f280f Author: daniel <github@dbauer.me> Date: Tue Jul 18 10:56:47 2023 +0200 make hole footprints plated
20 lines
514 B
JavaScript
20 lines
514 B
JavaScript
module.exports = {
|
|
params: {
|
|
class: "MP",
|
|
size: 4.0,
|
|
drill: 2.2
|
|
},
|
|
body: (p) => {
|
|
return `
|
|
(module Hole (layer F.Cu) (tedit 5F7666C1)
|
|
${p.at /* parametric position */}
|
|
(fp_text reference "${p.ref}" (at 0 0.5) (layer F.SilkS) ${p.ref_hide}
|
|
(effects (font (size 1 1) (thickness 0.15)))
|
|
)
|
|
|
|
(pad "" thru_hole circle (at 0 0) (size ${p.size} ${p.size}) (drill ${p.drill}) (layers *.Cu *.Mask) (tstamp 75b224f0-3010-4e8c-bf32-f95a770c96d9))
|
|
)
|
|
`;
|
|
},
|
|
};
|