- Added support for values between 0.01 and 10 ohms
- Avoid crash for R<0.01 ohms
- Added support for 20% tolerance
- Added support for tol/tolerance property
- Fixed Decimal division by float
- Changed default tolerance to 20%. I know this isn't reality,
but if we don't know the tolerance is better to just let it
blank (20% is this).
- Now we can use the full method found in newer versions
- But we can also use simpler methods that are usable and needs
less dependencies (also they are faster)
- 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