If I use the switch --board-plot-params
in kicad-cli pcb export gerbers
it exports 30 inner layers in a file which just has 2 inner layers. That’s definitely not configured this way in the export settings. Is that a bug or am I missing something?
Hard to tell if you missed something without the project files. If you could post your project, we could take a look and see if we have the same problem.
Please also post your KiCad versions info.
Did you check the gitlab issues? I didn’t find anything in my short search, but i don’t really know how to search for that issue. Maybe you can create a new issue?
Did you figure this out? I can confirm the issue. Is there a bug report for this?
Version: 7.0.7+1, release build
Are you able to upload a minimal example with that problem?
Or you could report it on the kicad issue tracker
Someone beat me to it: kicad-cli PCB export flag --board-plot-params does not follow the set parameters (#15634) · Issues · KiCad / KiCad Source Code / kicad · GitLab
I don’t think a minimal example is of any use since you can take any file and get the same result.
I don’t think a minimal example is of any use since you can take any file and get the same result.
How about mentioning that at the start? Don’t hide information, it is very annoying when someone mentions a problem, expects help and hold information back. Why do people do that? Is it so hard to give the details needed to understand, reproduce and eventually help solving the problem?
I can’t reproduce it with my (outdated) 7.99 version on a almost empty PCB. Don’t get any inner copper layers for a 2 layer PCB.
Thanks, I’ll keep monitoring that bug report.
Here’s a simple example project:
kicad-cli pcb export gerbers \
--board-plot-params \
--output gerber_export_kicad-cli \
exp.kicad_pcb
exp.tar.gz (6.0 KB)
Version: 7.0.7+1, release build
Result:
$ ../../../k_7.99/kicad-cli pcb export gerbers --board-plot-params ../exp.kicad_pcb
$ ls | cat
exp-B_Adhesive.gba
exp-B_Courtyard.gbr
exp-B_Cu.gbl
exp-B_Fab.gbr
exp-B_Mask.gbs
exp-B_Paste.gbp
exp-B_Silkscreen.gbo
exp-Edge_Cuts.gm1
exp-F_Adhesive.gta
exp-F_Courtyard.gbr
exp-F_Cu.gtl
exp-F_Fab.gbr
exp-F_Mask.gts
exp-F_Paste.gtp
exp-F_Silkscreen.gto
exp-job.gbrjob
exp-Margin.gbr
exp-User_1.gbr
exp-User_2.gbr
exp-User_3.gbr
exp-User_4.gbr
exp-User_5.gbr
exp-User_6.gbr
exp-User_7.gbr
exp-User_8.gbr
exp-User_9.gbr
exp-User_Comments.gbr
exp-User_Drawings.gbr
exp-User_Eco1.gbr
exp-User_Eco2.gbr
No 30 inner layers.
Version tested:
Application: KiCad PCB Editor (64-bit)
Version: 7.99.0-576-gac71227e75-dirty, release build
Libraries:
wxWidgets 3.0.5
FreeType 2.10.4
HarfBuzz 2.7.4
FontConfig 2.13.1
libcurl/7.74.0 GnuTLS/3.7.1 zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.43.0 librtmp/2.3
Platform: Debian GNU/Linux 11 (bullseye), 64 bit, Little endian, wxGTK, lightdm-xsession, x11
Build Info:
Date: Mar 23 2023 18:39:35
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.74.0
ngspice: 34
Compiler: GCC 10.2.1 with C++ ABI 1014
Build settings:
confirming the issue in release build
kicad-cli pcb export gerbers --board-plot-params --output gerber_export_kicad-cli exp.kicad_pcb
Loading board
Plotted to 'gerber_export_kicad-cli/exp-F_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In1_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In2_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In3_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In4_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In5_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In6_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In7_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In8_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In9_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In10_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In11_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In12_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In13_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In14_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In15_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In16_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In17_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In18_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In19_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In20_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In21_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In22_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In23_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In24_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In25_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In26_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In27_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In28_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In29_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-In30_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-B_Cu.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-F_Paste.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-B_Paste.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-F_Silkscreen.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-B_Silkscreen.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-F_Mask.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-B_Mask.gbr'.
Plotted to 'gerber_export_kicad-cli/exp-Edge_Cuts.gbr'.
Application: KiCad x86_64 on x86_64
Version: 7.0.8-7.0.8~ubuntu23.04.1, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 6.0.0
FontConfig 2.14.1
libcurl/7.88.1 OpenSSL/3.0.8 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.3 libpsl/0.21.2 (+libidn2/2.3.3) libssh/0.10.4/openssl/zlib nghttp2/1.52.0 librtmp/2.3
Platform: Ubuntu 23.04, 64 bit, Little endian, wxGTK, KDE, x11
Build Info:
Date: Sep 30 2023 13:54:00
wxWidgets: 3.2.2 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.6.3
Curl: 7.88.1
ngspice: 38
Compiler: GCC 12.3.0 with C++ ABI 1017
Build settings:
KICAD_SPICE=ON
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.