svg-pcb
svg-pcb copied to clipboard
Design PCBs in the Browser
The basic example exports the first pad incorrectly as a circle.  ```js /* @version: v0.1.0 a basic starter design */ /* -- DECLARE_PCB...
When editing components in GUI would be nice to have interface for other optional operations. - [ ] add transform widget for selected components - [ ] translate - [...
When I try to import the [Kaillh Hotswap MX switch footprint](https://github.com/kiswitch/kiswitch/blob/main/library/footprints/Switch_Keyboard_Hotswap_Kailh.pretty/SW_Hotswap_Kailh_MX.kicad_mod), it generates this SVG-PCB code: ``` const SW_Hotswap_Kailh_MX_Efr = footprint({"1":{"pos":[-0.27893700787401576,0.1],"shape":"M -0.05019685039370078 -0.04429133858267716 L -0.050122085398682126 -0.04514590638615615 L -0.04990006211016687 -0.0459745085793586 L...