leomcelroy / svg-pcb

Design PCBs in the Browser
https://www.leomcelroy.com/svg-pcb-website
GNU General Public License v3.0
64 stars 9 forks source link

Add netlists #16

Open leomcelroy opened 1 year ago

leomcelroy commented 1 year ago

Some way to indicate how things should be connected.

Perhaps as a board method: board.netlist(...)

Could be specified as a dictionary:

{
  "comp0.pad0": "comp1.ground"
}

A question is how to reference a pad. Does the component name come from the variable declaration?