- So now the save function only supports SVG as input and SVG/PNG as
output. All other cases are handled from outside
- This is because KiBot heavily uses ImageMagick and migrating to PIL
is not something simple.
- There is no point in using PIL just for file conversion, as we don't
use `render` this is the only use.
- Currently svgpathtool is disabled, it really needs numpy
- `numpy` is used to:
- Multiply matrices (1 line code)
- Find the index of the smaller element (1 line code)
- I added a replacemt for the `array` function, it just makes all
matrix elements float
- Just 2.8 kiB no worth the effort of pulling a dependency
- In fact it could be reduced to less than 10 lines, but I keep it
almost unchanged (just added author and license) to make it easy
to updated.
- pad.GetDrillSizeX() and pad.GetDrillSizeY() are KiCad 6 specific,
you must use pad.GetDrillSize()
- KiCad 5 vias were skipped
- Vias detection crashed on KiCad 5