-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document steps for adding artwork #5
Comments
Documentation done, but my test kicad module doesn't have the layers lined up correctly. Need to try the latest svg2shenzhen release. |
Tried the latest svg2shenzhen release, and it still has the problem. Similarly if I moved the deer's chest onto the F.Cu layer. It feels more like a problem with the Edge.Cuts layer, as that's quite a way off from the Looking at the code, the Edge.Cuts layer is treated differently, which maybe points in the right direction. Might be worth trying something on both F.SilkS and F.Mask or F.Cu to see if they all line up, to work out if it is just the Edge.Cuts layer going awry. |
After a successful import of single outline on the Edge.Cuts layer, I found some issue on a file with multiple shapes. Alignment looked spot on but there was no sign of the Edge.Cuts layer - not even in the footprint window preview. I don't think it was exporting from svg2shenzhen, since that was the only layer that didn't have a file with its name in the .svg2shenzhen-cache folder after I enabled debug mode. (it might have been there without debug anyway, but I hadn't checked). When I'm in the footprint editor looking to bring it in, the edge.cuts layer is greyed out - presumably because there is no content on that layer: The same shape would happily import correctly on the front silkscreen layer, but I couldn't manually move it or add another shape to the edge cuts layer in the footprint editor: I think that's as far as my skill level can get in debugging but hopefully provides some leads. |
Oh yeah, versions: OS: Windows 10 Pro 10.0.19042, 64 bit |
Prompted by the expertise of @concretedog, I resolved my issues by double checking that the shapes were paths, not only strokes, via While I was at it I found some related issues on the svg2shenzen repo with a search: The alignment issue resolved by ungrouping. Missing layers resolved through DPI setting @amcewen do you have the file you were having trouble with for me to test? |
I've checked the file that I'd had the problem with. It was still causing problems (without me trying anything new), and the ungrouping trick fixed it. |
Does that address the totality of this issue or is there more documentation around bitmaps and DXF that could be added? |
I think we can leave it with just the Svg2Shenzhen stuff (given we've run the course twice without the DXF and bitmap stuff - and I don't use either of those in practice anyway, always reach for the better Svg2Shenzhen). |
Instructions on basic bitmap converter in Kicad, and DXF import (for basic board outlines); and then Svg2Shenzhen plugin for Inkscape for doing fancier artwork and/or board outlines.
The text was updated successfully, but these errors were encountered: