leomcelroy / svg-pcb

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

Vias to be kept in a separate global array #45

Closed kr15h closed 1 year ago

kr15h commented 1 year ago

It would be actually nice to have vias separately from components as vias are not components in a regular sense. The object structure is different, and all you need for a via are these:

If there are global variables such as footprints and components, vias could have their own vias storage.

leomcelroy commented 1 year ago

This is addressed with the way drills are handled in #50