mtl / svg2mod

Convert Inkscape SVG drawings to KiCad footprint modules
Creative Commons Zero v1.0 Universal
236 stars 56 forks source link

Map layer names one to one and allow Dwgs, Cmts and Eco layers #20

Open kasbah opened 6 years ago

kasbah commented 6 years ago

Using the exact layer names in Inkscape would allow you to choose front or back from your drawing. Additionally we should allow the Dwgs, Cmts and Eco layers (KiCad 4.0.7 seems to load them without complaints).

So the table from the README would become:

Inkscape layer name KiCad layer(s) KiCad legacy KiCad pretty
F.Cu F.Cu Yes Yes
B.Cu B.Cu Yes Yes
F.Adhes F.Adhes Yes Yes
B.Adhes B.Adhes Yes Yes
F.Paste F.Paste Yes Yes
B.Paste B.Paste Yes Yes
F.SilkS F.SilkS Yes Yes
B.SilkS B.SilkS Yes Yes
F.Mask F.Mask Yes Yes
B.Mask B.Mask Yes Yes
Dwgs.User Dwgs.User Yes Yes
Cmts.User Cmts.User Yes Yes
Eco1.User Eco1.User Yes Yes
Eco2.User Eco2.User Yes Yes
Edge.Cuts Edge.Cuts Yes Yes
F.Fab F.Fab -- Yes
B.Fab B.Fab -- Yes
F.CrtYd F.CrtYd -- Yes
B.CrtYd B.CrtYd -- Yes
NaH012 commented 6 years ago

My pull request #26 does this, If you are interested you could test my branch of this project. The owner doesn't look very active anymore so I have no clue how long it will take for this to be merged.

kasbah commented 6 years ago

Thanks, I am now using svg2shenzhen as it's a better workflow for me and has all the layers mapped one to one.