yaqwsx / PcbDraw

Convert your KiCAD board into a nicely looking 2D drawing suitable for pinout diagrams
MIT License
1.16k stars 91 forks source link

Pr 1k resistor crash (#152) #153

Closed Keuronde closed 1 year ago

Keuronde commented 1 year ago

In file plot.py

In _get_resistance_from_value, an "improvement" 9 month ago was not handling correctly the cases like "1 k", "270 M" as long as there was a space in the format.

in _apply_resistor_code, the call of get_style if protected from UserWarning, but get style was sending another kind of exception

yaqwsx commented 1 year ago

Thank you!