Hi,
I have switched to KiCad 6 under Linux.
Under pcbnew some layouts are now not exported correctly as svg. The exported files can no longer be read e.g. gimp.
Does anyone know this problem and what can I do?
Hi,
I have switched to KiCad 6 under Linux.
Under pcbnew some layouts are now not exported correctly as svg. The exported files can no longer be read e.g. gimp.
Does anyone know this problem and what can I do?
What version exactly ? the latest V6 version is 6.0.11 can you paste your version info here please, you can get it from KiCad > Help > About KiCad > Copy Version Info
. . . and then paste it here.
Copy and Paste version info is a start, but it won’t solve the problem by itself.
You can try the latest and greatest KiCad V7.0.6. and see if that is better, or search gitlab for open or closed issues regarding SVG. (About 200 issues are both created and get fixed again each month, so that is a minumum of about 1000 issues after your KiCad V6).
You can try other SVG viewers. Use for example Inkscape or a web browser. Some viewers may just discard parts of a faulty SVG, or even better: show you where a fault is.
If it’s a particular footprint or imported thing, then you can try a few iterations of successive approximation. With 10 iterations you can distinguish between 1024 parts in your PCB file. And add a bit of brainpower. For example delete all track segments first, and then check (it’s unlikely to be those, so eleminate them from the equation). Or start with likely culprits. Delete likely canditates such as weird imports first.
Another approach is to zip up the whole project and post it here. Someone may be helpful and spend some time on it.
It is obviously not a KiCad problem, but is due to imagemagick and gimp. With inkscape the SVG images can be processed.
I have suspected the error with KiCad, because only some of the billder not processed.
So my problem is solved.
I use
KiCad version: 6.0.2+dfsg-1, release build
Libraries:
wxWidgets 3.0.5
libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.15
Platform: Linux 6.2.0-10018-tuxedo x86_64, 64 bit, Little endian, wxGTK, XFCE, x11
Build Info:
Date: Feb 12 2022 09:36:02
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.1
Curl: 7.81.0
ngspice: 36
Compiler: GCC 11.2.0 with C++ ABI 1016
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON
I’m not 100% sure it is, there were fixes made in V6 for SVG related issues, you should try the latest V6 version available and see if it helps further.
That is ancient and riddled with bugs. At least update to 6.0.11
I have installed the latest stable version of KiCad 7.
The problem no longer occurs with magemagick and gimp.
Thank you for the tips.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.