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
|
@ -70,8 +70,8 @@ const results = ergogen.process(config, args.debug, s => console.log(s))
|
|||
console.log('Writing output to disk...')
|
||||
|
||||
if (args.debug) {
|
||||
io.dump_model(results.points.demo, path.join(args.o, 'points/demo'), args.debug)
|
||||
fs.writeJSONSync(path.join(args.o, 'points/data.json'), results.points.data, {spaces: 4})
|
||||
io.dump_model(results.demo, path.join(args.o, 'points/demo'), args.debug)
|
||||
fs.writeJSONSync(path.join(args.o, 'points/data.json'), results.points, {spaces: 4})
|
||||
}
|
||||
|
||||
for (const [name, outline] of Object.entries(results.outlines)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue