PCB net and parameter overhaul

- merge static and parametric nets
- allow dynamic nets on the fly with `p.local_net()`
- support local-to-global position calculations with `p.xy()`
  - this also enables intra-footprint traces and zones
- add anchor type parameters to footprints
This commit is contained in:
Bán Dénes 2021-07-11 20:36:11 +02:00
parent 452d7c155b
commit fe30b91309
7 changed files with 225 additions and 36 deletions

View file

@ -0,0 +1,37 @@
points:
zones:
matrix:
columns:
one:
rows:
only:
outlines:
exports:
edge:
- type: keys
side: left
size: [u, u]
pcbs:
main:
outlines:
edge:
outline: edge
footprints:
trace:
type: trace_test
anchor:
shift: [1, 1]
rotate: 30
zone:
type: zone_test
anchor:
shift: [1, 1]
rotate: 30
dyn:
type: dynamic_net_test
anc:
type: anchor_test
anchors:
end:
ref: matrix_one_only
shift: [10, 10]

File diff suppressed because one or more lines are too long