Resize page to all what was plotted when plot PCB without drawing sheet.
Description
In my opinion not resizing the page of plot when PCB plot is done with not checked option "Plot drawing sheet" is a bug.
I am still working around absolute 0,0 origin (in V4 was the only way to have symmetry in coordinate settings), but the problem is similar if PCB is somewhere inside sheet.
If you try to insert into LibreOffice Writer document the svg plot of my PCB generated by KiCad you get something like this:
To correct it I open each KiCad plot in Inkscape:
And then do 3 hot-key actions:
- Ctrl+A - select all
- Ctrl+Shift+R - Resize Page to Selection
- Ctrl+S - save a file
to get the picture:
that can then be easily inserted into created documentation.
Steps to reproduce
Just plot PCB without drawing sheet and then try to use it in probably any Writer like application.
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 8.0.4, release build
Libraries: wxWidgets 3.2.5 FreeType 2.12.1 HarfBuzz 8.3.0 FontConfig 2.14.2 libcurl/8.5.0-DEV Schannel zlib/1.3
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW OpenGL: Intel, Intel(R) HD Graphics 530, 4.6.0 - Build 30.0.101.1340
Build Info: Date: Jul 17 2024 03:26:47 wxWidgets: 3.2.5 (wchar_t,wx containers) Boost: 1.83.0 OCC: 7.8.1 Curl: 8.5.0-DEV ngspice: 42 Compiler: Visual C++ 1939 without C++ ABI
Build settings: