Closed mikenorgate closed 2 years ago
Well this is what the SVG content looks like (opened with Inkscape, which I would recommend):
Still does no look fine as it's black. It looks like all style
parameters in the svg data are empty, so possibly a bug. Try it with KiCAD 6 and see if colors show.
What are you using to view the SVG. For example on my system, my browser (Firefox) does not show any of the generated SVGs. I am guessing this is because of the huge internal scale KiCAD outputs it's SVGs in:
I was using Chrome as that's default on my system. I'll make sure to use Inkscape in the future
Yeah, I do plan on hopefully getting that changed for KiCAD 7 so it could export svgs in a sane scale (https://gitlab.com/kicad/code/kicad/-/merge_requests/974).
Could you share the source board? Without it I cannot reproduce to issue and debug it.
@yaqwsx it's available here https://github.com/mikenorgate/3d-printer-power-hat/tree/main/pcb
@mikenorgate Could you upgrade to the upstream version of PcbDraw? With the upstream version I cannot reproduce the bug:
If it persists, what is you OS?
@yaqwsx I updated to the upstream version and all works correctly, thanks
Thanks, I will make a release then.
I'm attempting to generate an SVG for my PCB but the output image is blank, although when I look at the source of the SVG I can see there is data there
PcbDraw Version: 0.9.0 KiCad Version: 6.0.1
PCB Design
Generated SVG
https://user-images.githubusercontent.com/2479870/150813349-f875ef92-cc77-4bfa-bf41-02a87780e651.svg