andete / madparts

A functional footprint editor.
GNU General Public License v3.0
80 stars 8 forks source link

Added more layers. #105

Closed metacollin closed 8 years ago

metacollin commented 8 years ago

Hi, I added support for more layers, specifically all the layers available in KiCad, making the support for KiCad at least more or less complete. Its trivial to assign anything to any layer now, and all I had to do was edit a few maps. Thanks for writing madparts so well - it is rare that adding things is as simple and straightforward as this!

Now, I did my best on choosing colors, but I definitely won't care if you change them to whatever you feel is appropriate, or if you're busy but also don't like them, let me know and I can try something else.

Also, this isn't a particularly important pull request, so no worries if you chose to reject it, just more of a convenience thing I thought I'd share.

Here are the colors, from left to right:
keepout, bkeepout, assembly, bassembly, paste, bpaste, comments, user1, user2 Colors

metacollin commented 8 years ago

Oh, and I fixed a bug that, uh, I added. I can do it in a separate request if you want, I forgot about it and it sort of got lumped in. KiCad represents the solder paste ratio using negative numbers. "-0.0" is total coverage of paste, while 1 is twice the size of the pad worth of paste, which is no good heh. Sorry about that.