Footprint sideloading tests

This commit is contained in:
Bán Dénes 2022-11-14 22:24:07 +01:00
parent 24466eb01d
commit 0d73c59538
15 changed files with 315 additions and 14 deletions

13
test/fixtures/bundle/config.yaml vendored Normal file
View file

@ -0,0 +1,13 @@
points.zones.matrix:
outlines:
box:
- what: rectangle
where: true
size: 18
pcbs:
pcb:
outlines.edge.outline: box
footprints:
injected:
type: injected
anchor: matrix

View file

@ -0,0 +1,13 @@
module.exports = {
params: {
class: 'I'
},
body: p => `
(module injected_test_footprint (layer F.Cu) (tedit 5E1ADAC2)
${p.at /* parametric position */}
${'' /* footprint reference */}
(fp_text reference "${p.ref}" (at 0 0) (layer F.SilkS) ${p.ref_hide} (effects (font (size 1.27 1.27) (thickness 0.15))))
)
`
}