yaqwsx / PcbDraw-Lib

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

Pin Sockets, Resize script change, and #15

Closed Electro707 closed 3 years ago

Electro707 commented 3 years ago

The main change behind this PR is the addition of pin sockets. This is what the it looks like: image And this is what it looks like on a board: image

Note:

For both this and the pin headers (which is what I based these drawings of), there is a 95% opacity on the plastic housing showing some of the PCB image Is this intenional?

I also modified the resize script. Inkscape, as of >1.0, needs a GUI to be opened when executing the verb FitCanvasToDrawing. Instead I changed so that won't be an issue anymore.

I also modified the Pin_Header_Straight_1x01.svg base file so that the pin header group doesn't have a transform element to it. Otherwise when the pinheader generator script goes and generates the other headers, they are offset some 1000px down

yaqwsx commented 3 years ago

This looks good. The 95% opacity is definitely not an intention and it should be fixed. Could you fix it?

Electro707 commented 3 years ago

Updated the pin socket's opacity, as well as the pin header's.

yaqwsx commented 3 years ago

Thank you for your contribution!