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:
parent
452d7c155b
commit
fe30b91309
7 changed files with 225 additions and 36 deletions
37
test/pcbs/001_mock_footprints.yaml
Normal file
37
test/pcbs/001_mock_footprints.yaml
Normal 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]
|
3
test/pcbs/001_mock_footprints___pcbs.json
Normal file
3
test/pcbs/001_mock_footprints___pcbs.json
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue