yaqwsx / PcbDraw-Lib

Model library for PcbDraw - https://github.com/yaqwsx/PcbDraw
Other
40 stars 19 forks source link

Add passives generator and update library #22

Closed Electro707 closed 2 years ago

Electro707 commented 2 years ago

This PR has evolved from simply fixing the resistor SMD packages to adding a generator to generate any passive component in the same style. SMD capacitors, resistors, and inductors are also updated to what the generator exported.

Original PR Message

Originally this PR was only to fix the non-straight line of the 1206 resistor as mentioned in #21, but I noticed all the SMD resistors were quirky (non symmetrical, slight offset between pad and body), so I went ahead and fixed all 4 of them. Now they should be symetrical and are of proper size.

Before:

After:

Fixes #21

yaqwsx commented 2 years ago

Thank you for your work!